Posted By

TenDegrees on 12/03/15


Tagged

headers extend Degrees ten Unity


Versions (?)

Unity Headers


 / Published in: Objective C
 

A list of Unity headers

  1. // file: extend.h
  2.  
  3. #pragma mark - Unity
  4. #pragma mark - Unity Account
  5. - (bool) createUnityProfile: (Profile *) profile withPassword: (NSString *) password withCompletionBlock:(void(^)(Profile * object, bool success, NSString * errorMessage)) completionBlock;
  6.  
  7. - (bool) signInToUnityWithEmail: (NSString *) email andPassword: (NSString *) password withCompletionBlock:(void(^)(Profile * profile, bool success, NSString * errorMessage)) completionBlock;
  8.  
  9. - (bool) signOutOfUnityWithCompletionBlock:(void(^)(bool success, NSString * errorMessage)) completionBlock;
  10.  
  11. - (bool) resetPasswordForUnityAccountEmail: (NSString *) email withCompletionBlock:(void(^)(bool success, NSString * errorMessage)) completionBlock;
  12.  
  13. - (bool) updateUnityProfile: (Profile *) profile withEmail: (NSString *) newEmail withCompletionBlock:(void(^)(bool success, NSString * errorMessage)) completionBlock;
  14.  
  15. - (bool) updateUnityProfile: (Profile *) profile withPassword: (NSString *) newPassword usingOldPassword: (NSString *) oldPassword withCompletionBlock:(void(^)(bool success, NSString * errorMessage)) completionBlock;
  16.  
  17.  
  18. #pragma mark - Unity CRUD
  19. - (bool) createUnityObject: (id) object withCompletionBlock:(void(^)(id object, bool success, NSString * errorMessage)) completionBlock;
  20.  
  21. - (bool) readUnityObject: (id) object withCompletionBlock:(void(^)(id object, bool success, NSString * errorMessage)) completionBlock;
  22.  
  23. - (bool) updateUnityObject: (id) object withCompletionBlock:(void(^)(bool success, NSString * errorMessage)) completionBlock;
  24.  
  25. - (bool) deleteUnityObject: (id) object withCompletionBlock:(void(^)(bool success, NSString * errorMessage)) completionBlock;
  26.  
  27. #pragma mark - Unity Tag CRUD
  28. - (bool) createTagForUnityObject: (id) object withKey: (NSString *) key value: (NSString *) value scope: (Scope) scope andCompletionBlock:(void(^)(bool success, NSString * errorMessage)) completionBlock;
  29.  
  30. - (bool) readTagsForUnityObject: (id) object withCompletionBlock:(void(^)(NSDictionary * tags, bool success, NSString * errorMessage)) completionBlock;
  31.  
  32. - (bool) updateTagForUnityObject: (id) object withKey: (NSString *) key value: (NSString *) value scope: (Scope) scope andCompletionBlock:(void(^)(bool success, NSString * errorMessage)) completionBlock;
  33.  
  34. - (bool) deleteTagForUnityObject: (id) object withKey: (NSString *) key andCompletionBlock:(void(^)(bool success, NSString * errorMessage)) completionBlock;
  35.  
  36.  
  37. #pragma mark - Unity Affiliations
  38. - (bool) respondToUnityInvite: (Invite *) invite withAccept: (bool) accept andCompletionBlock:(void(^)(bool success, NSString * errorMessage)) completionBlock;
  39.  
  40.  
  41. #pragma mark - Unity Search
  42. - (bool) searchUnity: (NSString *) query withCompletionBlock:(void(^)(NSArray * array, bool success, NSString * errorMessage)) completionBlock;

Report this snippet  

You need to login to post a comment.