-
Notifications
You must be signed in to change notification settings - Fork 0
/
GUser.h
43 lines (33 loc) · 1.2 KB
/
GUser.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//
// GUser.h
// TwitterTimeline
//
// Created by Joan Barrull Ribalta on 25/08/14.
// Copyright (c) 2014 com.giria. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
#import "GManagedObject.h"
@class GTweet;
@interface GUser : GManagedObject
@property (nonatomic, retain) NSNumber * identifier;
@property (nonatomic, retain) NSString * text;
@property (nonatomic, retain) NSString * name;
@property (nonatomic, retain) NSString * screenName;
@property (nonatomic, retain) NSString * imageLink;
@property (nonatomic, retain) NSSet *tweets;
@property (nonatomic, retain) NSSet *retweets;
@end
@interface GUser (CoreDataGeneratedAccessors)
- (void)addTweetsObject:(GTweet *)value;
- (void)removeTweetsObject:(GTweet *)value;
- (void)addTweets:(NSSet *)values;
- (void)removeTweets:(NSSet *)values;
- (void)addRetweetsObject:(GTweet *)value;
- (void)removeRetweetsObject:(GTweet *)value;
- (void)addRetweets:(NSSet *)values;
- (void)removeRetweets:(NSSet *)values;
+ (NSFetchRequest *)fetchRequestForTwitterUserWithIdentifier:(NSNumber *)identifier;
+ (id)twitterUserWithIdentifier:(NSNumber *)identifier
inManagedObjectContext:(NSManagedObjectContext *)context;
@end