-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWithFriendsController.h
More file actions
91 lines (83 loc) · 2.6 KB
/
WithFriendsController.h
File metadata and controls
91 lines (83 loc) · 2.6 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
//
// WithFriendsController.h
// Meemi
//
// Created by Giacomo Tufano on 02/04/10.
//
// Copyright 2011, Giacomo Tufano (gt@ilTofa.it)
// Licensed under MIT license. See LICENSE file or http://www.opensource.org/licenses/mit-license.php
//
#import <UIKit/UIKit.h>
#import "Meemi.h"
#import "TextSender.h"
#import "ImageSender.h"
typedef enum {
FTAll = 0,
FTPvt,
FTSpecial,
FTReplyView
} FetchTypes;
@interface WithFriendsController : UITableViewController <NSFetchedResultsControllerDelegate, MeemiDelegate, TextSenderControllerDelegate, ImageSenderControllerDelegate, UIActionSheetDelegate, UISearchBarDelegate>
{
NSFetchedResultsController *theMemeList;
UITableViewCell *memeCell;
NSString *predicateString;
FetchTypes currentFetch;
// Is this the "main list", or a detail? :)
NSNumber *replyTo;
NSString *replyScreenName;
NSNumber *replyQuantity;
int readMemes;
// Scrolling
BOOL checkForRefresh;
BOOL enoughDragging;
UIView *headerView;
UILabel *headerLabel;
UILabel *headerArrow;
UIActivityIndicatorView *laRuota;
UIActivityIndicatorView *laPiccolaRuota;
UIButton *reloadButtonInBreakTable;
Meemi *ourPersonalMeemi;
Meemi *privateFetchMeemi;
Meemi *mentionFetchMeemi;
// the search bar
UISearchBar *theSearchBar;
BOOL barPresent;
NSString *searchString;
NSInteger searchScope;
// Other
int watermark;
BOOL specialThread;
// UIImage caches
UIImage *imgCamera;
UIImage *imgVideo;
UIImage *imgLink;
UIImage *imgBlackFlag;
UIImage *imgWhiteFlag;
UIImage *imgNothing;
UIImage *imgSemplice;
UIImage *imgLock;
UIImage *imgStar;
BOOL thatsTheMemeKindChoice;
}
-(IBAction)filterSelected;
-(IBAction)avatarTouched:(id)sender;
-(IBAction)loadMore:(id)sender;
-(IBAction)doNothing:(id)sender;
-(void)loadMemePage;
-(void)markReadMemes;
@property (nonatomic, assign) IBOutlet UITableViewCell *memeCell;
@property (nonatomic, assign) IBOutlet UIView *headerView;
@property (nonatomic, retain) IBOutlet UISearchBar *theSearchBar;
@property (nonatomic, retain) IBOutlet UILabel *headerLabel;
@property (nonatomic, retain) IBOutlet UILabel *headerArrow;
@property (nonatomic, retain) IBOutlet UIActivityIndicatorView *laRuota;
@property (nonatomic, retain) IBOutlet UIActivityIndicatorView *laPiccolaRuota;
@property (nonatomic, retain) IBOutlet UIButton *reloadButtonInBreakTable;
@property (nonatomic, retain) NSString *predicateString;
@property (nonatomic, retain) NSNumber *replyTo;
@property (nonatomic, retain) NSString *replyScreenName;
@property (nonatomic, retain) NSNumber *replyQuantity;
@property (nonatomic, retain) NSString *searchString;
@property (nonatomic, assign) NSInteger searchScope;
@end