added add/show geolocation and changed name from TweetModel to PostModel
This commit is contained in:
parent
d39b643844
commit
76b63d5c68
12 changed files with 398 additions and 50 deletions
|
@ -8,21 +8,34 @@
|
|||
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <CoreLocation/CoreLocation.h>
|
||||
|
||||
|
||||
@interface NewMessageWindow : NSDocument <NSTextFieldDelegate>
|
||||
@interface NewMessageWindow : NSDocument <NSTextFieldDelegate, CLLocationManagerDelegate>
|
||||
{
|
||||
IBOutlet NSTextField *textField;
|
||||
IBOutlet NSTextField *counter;
|
||||
NSMenu *addMenu;
|
||||
NSButton *addMenuButton;
|
||||
NSString *inReplyTostatusId;
|
||||
NSString *inReplyToEntity;
|
||||
NSMenuItem *addImage;
|
||||
CLLocationManager *locationManager;
|
||||
CLLocation *currentLocation;
|
||||
}
|
||||
|
||||
@property (nonatomic, retain) IBOutlet NSTextField *textField;
|
||||
@property (nonatomic, retain) IBOutlet NSTextField *counter;
|
||||
@property (assign) IBOutlet NSMenu *addMenu;
|
||||
@property (assign) IBOutlet NSButton *addMenuButton;
|
||||
@property (retain, nonatomic) CLLocationManager *locationManager;
|
||||
@property (retain, nonatomic) CLLocation *currentLocation;
|
||||
|
||||
- (IBAction)sendTweet:(NSControl *)control;
|
||||
- (void)inReplyTo:(NSString *)userName statusId:(NSString *)statusId withString:(NSString *)string;
|
||||
- (void)withString:(NSString *)aString;
|
||||
- (IBAction)addCurrentLocation:(id)sender;
|
||||
- (IBAction)addImage:(id)sender;
|
||||
- (IBAction)openAddMenu:(id)sender;
|
||||
|
||||
@end
|
||||
|
|
Reference in a new issue