-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBTFirstViewController.h
More file actions
32 lines (25 loc) · 962 Bytes
/
BTFirstViewController.h
File metadata and controls
32 lines (25 loc) · 962 Bytes
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
//
// BTFirstViewController.h
// BTChat
//
// Created by Peter on 2013.06.12..
// Copyright (c) 2013 LianDesign. All rights reserved.
//
#import <UIKit/UIKit.h>
@class BTFirstViewController;
@protocol BTFirstViewControllerDelegate <NSObject>
@optional
-(void)textMessageSender:(BTFirstViewController*)controller data:(NSString*)textMessage;
-(void)addMessageToAdvertising:(NSString*)messageText;
@end
@interface BTFirstViewController : UIViewController
<UITextFieldDelegate, UITableViewDataSource> {
__weak id<BTFirstViewControllerDelegate> delegate;
__weak id<BTFirstViewControllerDelegate> delegate2;
}
@property (strong, nonatomic) UITableView* chatMessages;
@property (weak, nonatomic) IBOutlet UITextField* textMessage;
@property (weak, nonatomic) id<BTFirstViewControllerDelegate> delegate;
@property (weak, nonatomic) id<BTFirstViewControllerDelegate> delegate2;
@property (strong, nonatomic) NSMutableArray* messages;
@end