5 // Created by Robert Sesek on 2/15/10.
6 // Copyright 2010 Blue Static. All rights reserved.
9 #import <Cocoa/Cocoa.h>
11 @interface AppDelegate
: NSObject
<NSApplicationDelegate
>
15 NSTextField
* commandField_
;
16 NSTextView
* resultView_
;
18 CFSocketRef socket_
; // Strong.
19 CFReadStreamRef readStream_
; // Strong.
20 CFWriteStreamRef writeStream_
; // Strong.
22 NSMutableString
* currentPacket_
;
27 @
property (assign
) IBOutlet NSWindow
* window
;
28 @
property (assign
) IBOutlet NSTextField
* commandField
;
29 @
property (assign
) IBOutlet NSTextView
* resultView
;
30 @
property (retain
) NSMutableString
* currentPacket
;
32 - (IBAction
)send
:(id
)sender
;