-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSWFeedModel.h
52 lines (33 loc) · 1.21 KB
/
SWFeedModel.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
44
45
46
47
48
49
50
51
52
//
// SWFeedModel.h
// Starworld Test2
//
// Created by Aaron Baker on 7/24/11.
// Copyright 2011 __MyCompanyName__. All rights reserved.
//
#import "SWCurrentUser.h"
@interface SWFeedModel : TTURLRequestModel {
NSMutableArray* _posts;
NSUInteger _page; // page of search request
NSUInteger _resultsPerPage; // results per page, once the initial query is made
// this value shouldn't be changed
BOOL _finished;
SWCurrentUser *currentUser;
BOOL showStarred;
BOOL searchRemote;
CLLocationDegrees locationTop;
CLLocationDegrees locationBottom;
CLLocationDegrees locationLeft;
CLLocationDegrees locationright;
}
@property (nonatomic, retain) NSMutableArray* posts;
@property (nonatomic, assign) NSUInteger resultsPerPage;
@property (nonatomic) NSUInteger page;
@property (nonatomic, readonly) BOOL finished;
@property (atomic, assign) BOOL searchRemote;
@property CLLocationDegrees locationTop;
@property CLLocationDegrees locationBottom;
@property CLLocationDegrees locationLeft;
@property CLLocationDegrees locationRight;
- (id)initWithStarred:(BOOL) starred;
@end