Skip to content

Instantly share code, notes, and snippets.

View debuggerman's full-sized avatar

Zaki Shaheen (Coeus) debuggerman

View GitHub Profile
@debuggerman
debuggerman / ALAssetUsage.m
Created July 2, 2011 17:08
using AssetsLibrary to read saved images album in iOS
void (^assetEnumerator)(ALAsset* result, NSUInteger index, BOOL*);
void (^groupEnumerator)(ALAssetsGroup*, BOOL *);
void (^faliure)(NSError*);
groupEnumerator = ^(ALAssetsGroup *group, BOOL *stop){
[group enumerateAssetsUsingBlock:assetEnumerator];
};