-
Notifications
You must be signed in to change notification settings - Fork 0
/
ViewController.h
36 lines (30 loc) · 893 Bytes
/
ViewController.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
//
// ViewController.h
// AD-HMI
//
// Created by assam alzookery on 3/16/16.
// Copyright © 2016 assam alzookery. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "tcpSocketChat.h"
#import "IntersectionView.h"
//#import "IntersectionView.m"
@interface ViewController : UIViewController <NSStreamDelegate,tcpSocketChatDelegate ,UITextFieldDelegate>
{
CFReadStreamRef readStream;
CFWriteStreamRef writeStream;
NSInputStream *inputStream;
NSOutputStream *outputStream;
NSMutableArray *messages;
}
@property (weak, nonatomic) IBOutlet UILabel *connectedLabel;
- (IBAction)go1:(id)sender;
- (IBAction)Next:(id)sender;
- (IBAction)sunny:(id)sender;
- (IBAction)Cloudy:(id)sender;
- (IBAction)sunny_showers:(id)sender;
- (IBAction)Rainy:(id)sender;
- (IBAction)snow:(id)sender;
- (IBAction)Night:(id)sender;
- (IBAction)connectToServer:(id)sender;
@end