-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChatDemoViewController.h
executable file
·77 lines (48 loc) · 1.69 KB
/
ChatDemoViewController.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
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
//
// ChatDemoViewController.h
// ChatDemo
//
// Created by Charlene Jiang on 10/10/11.
// Copyright 2011 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "ChatTableViewController.h"
#import <Foundation/Foundation.h>
#import <FacebookSDK/FacebookSDK.h>
@interface ChatDemoViewController : UIViewController {
IBOutlet UIButton *slideButton;
IBOutlet UIButton *chatButton;
IBOutlet UIButton *photoButton;
//OG blabsay
UITextField *searchField;
UIButton *examplesButton;
ChatTableViewController *chatController;
NSString *keyword;
IBOutlet UILabel *username;
IBOutlet UIImageView *cell;
}
@property (nonatomic, retain) IBOutlet UIImageView *cell;
@property (nonatomic, retain) IBOutlet UILabel *username;
@property (nonatomic, retain) IBOutlet UIButton *slideButton;
@property (nonatomic, retain) IBOutlet UIButton *chatButton;
@property (nonatomic, retain) IBOutlet UIButton *photoButton;
@property (nonatomic, retain) IBOutlet UITextField *searchField;
@property (nonatomic, retain) IBOutlet UIButton *examplesButton;
@property (nonatomic, copy) NSString *keyword;
- (IBAction)slideButtonAction:(id)sender;
- (IBAction)chatButtonAction:(id)sender;
- (IBAction)photoButtonAction:(id)sender;
- (IBAction) search;
- (IBAction) examples;
- (void)getUsername:(NSString*)log;
- (void)getId:(NSString*)log;
- (void)getAccessKey:(NSString*)log;
@end
//2 Protocols for posting to Facebook ticker
@protocol BlabTopic<FBGraphObject>
@property (retain, nonatomic) NSString *id;
@property (retain, nonatomic) NSString *url;
@end
@protocol BlabAction<FBOpenGraphAction>
@property (retain, nonatomic) id<BlabTopic> topic;
@end