Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // get all your layers
- [client getLayersWithCursor:nil // for pagination
- callback:[SGCallback callbackWithSuccessBlock:
- ^(id response) {
- // you've got layers!
- // To create an array of SGLayer objects...
- NSArray *layers = [NSArray arrayWithSGCollection:SGCollectionTypeLayers];
- } failureBlock^(NSError *error) {
- // handle failure
- }]];
Add Comment
Please, Sign In to add comment