-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSWFeedDataSource.h
More file actions
41 lines (34 loc) · 1.43 KB
/
SWFeedDataSource.h
File metadata and controls
41 lines (34 loc) · 1.43 KB
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
//
// SWDataSource.h
// Starworld Test2
//
// Created by Aaron Baker on 8/13/11.
// Copyright 2011 __MyCompanyName__. All rights reserved.
//
#import "SWCurrentUser.h"
@class SWFeedModel;
///////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////
@protocol SWFeedDataSourceDelegate <NSObject>
@optional
- (void)populateMapWithItems: (NSArray*) items;
@end
///////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////
@interface SWFeedDataSource : TTSectionedDataSource <UIAlertViewDelegate> {
SWFeedModel* _searchFeedModel;
SWCurrentUser *currentUser;
BOOL showStarred;
NSMutableArray *myItems;
NSMutableArray *mySections;
id <SWFeedDataSourceDelegate> delegate;
BOOL searchRemote;
}
-(id)initWithStarred:(BOOL) starred;
@property (atomic,retain) NSMutableArray *myItems;
@property (nonatomic, assign) id <SWFeedDataSourceDelegate> delegate;
@property (atomic,assign) BOOL searchRemote;
@property (atomic,retain) SWFeedModel* searchFeedModel;
@end