/
YHTwitter.h
executable file
·41 lines (31 loc) · 952 Bytes
/
YHTwitter.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
//
// YHTwitter.h
//
// Created by Isaiah Carew on 2 March 2010.
// Copyright 2010. YourHead Software.
//
// Some code and concepts taken from examples provided by
// Matt Gemmell and Chris Kimpton
// See ReadMe for further attributions, copyrights and license info.
//
@class YHOAuthTwitterEngine;
@class YHTwitterDelegate;
@interface YHTwitter : NSObject {
YHOAuthTwitterEngine *_twitterEngine;
NSString *_username;
NSString *_password;
NSArray *_statuses;
IBOutlet NSWindow *aboutBox;
IBOutlet NSTextField *postTextField;
}
- (IBAction)signIn:(id)sender;
- (IBAction)signOut:(id)sender;
- (IBAction)update:(id)sender;
- (IBAction)post:(id)sender;
- (IBAction)openAbout:(id)sender;
@property (retain) YHOAuthTwitterEngine *twitterEngine;
@property (retain) NSString *username;
@property (retain) NSString *password;
@property (retain) NSArray *statuses;
@property (readonly) BOOL isSignedIn;
@end