Guest User

Untitled

a guest
Jan 22nd, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. // get all your layers
  2.  
  3. [client getLayersWithCursor:nil // for pagination
  4. callback:[SGCallback callbackWithSuccessBlock:
  5. ^(id response) {
  6. // you've got layers!
  7. // To create an array of SGLayer objects...
  8. NSArray *layers = [NSArray arrayWithSGCollection:SGCollectionTypeLayers];
  9. } failureBlock^(NSError *error) {
  10. // handle failure
  11. }]];
Add Comment
Please, Sign In to add comment