Fixed the leak of SecIdentityRef objects in a while loop.
5 // Created by Jens Alfke on 5/24/08.
6 // Copyright 2008 Jens Alfke. All rights reserved.
7 // Adapted from Apple sample code "CocoaEcho":
8 // http://developer.apple.com/samplecode/CocoaEcho/index.html
11 #import <Cocoa/Cocoa.h>
12 #import "BLIPConnection.h"
13 @class MYBonjourBrowser;
16 @interface BLIPEchoClient : NSObject <BLIPConnectionDelegate>
18 IBOutlet NSTextField * inputField;
19 IBOutlet NSTextField * responseField;
20 IBOutlet NSTableView * serverTableView;
22 MYBonjourBrowser * _serviceBrowser;
23 BLIPConnection *_connection;
26 @property (readonly) MYBonjourBrowser *serviceBrowser;
27 @property (readonly) NSArray *serviceList;
29 - (IBAction)serverClicked:(id)sender;
30 - (IBAction)sendText:(id)sender;