Advertisement
Guest User

Untitled

a guest
Oct 7th, 2015
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. category :
  2. @property (nonatomic, assign) NSInteger Id;
  3. @property (nonatomic, strong) NSString* title;
  4.  
  5. comment :
  6. @property (nonatomic, strong) NSString* name;
  7. @property (nonatomic, strong) NSDate* date;
  8. @property (nonatomic, strong) NSString* content;
  9.  
  10. post :
  11. @property (nonatomic, assign) NSInteger Id;
  12. @property (nonatomic, strong) NSString* title; x
  13. @property (nonatomic, strong) NSString* author;
  14. @property (nonatomic, strong) NSString* url;
  15. @property (nonatomic, strong) NSArray* categories;
  16. @property (nonatomic, strong) NSString* excerpt; x
  17. @property (nonatomic, strong) NSString* imageUri; x
  18. @property (nonatomic, strong) NSString* content;
  19. @property (nonatomic, strong) NSDate* date;
  20. @property (nonatomic, strong) NSArray* comments;
  21.  
  22. - (id)initFromNSDictionary:(NSDictionary*)postDic;
  23. - (id)initFromCustomNSDictionary:(NSDictionary*)postDic;
  24.  
  25. requester :
  26. + (Requester*)sharedRequester;
  27. - (void)downloadPostsWithJSONMethod:(NSString*)JSONMethod parameter:(NSString*)param page:(NSInteger)page viewController:(NewsViewController*)viewController;
  28. - (void)downloadCategoriesIntoViewController:(MenuViewController*)viewController;
  29. - (void)downloadImageFromURI:(NSString*)uri intoImage:(UIImageView*)imagev;
  30. - (NSString*)extractImageURIFromPost:(id)post;
  31. -(void) addCommentOnPostId:(NSInteger)postId by:(NSString*)name withEmail:(NSString*)email andContent:(NSString*)content;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement