CocoaEchoServer.m:183: warning: class 'EchoServer' does not implement the 'NSStreamDelegate' protocol
CocoaEchoServer.m:183: warning: class 'EchoServer' does not implement the 'NSStreamDelegate' protocol
- Subject: CocoaEchoServer.m:183: warning: class 'EchoServer' does not implement the 'NSStreamDelegate' protocol
- From: John MacMullin <email@hidden>
- Date: Fri, 11 Jun 2010 13:26:15 -0700
I have implemented Cocoaserver as exampled by Apple. I am now receiving two warning errors on the build: "CocoaEchoServer.m:183: warning: class 'EchoServer' does not implement the 'NSStreamDelegate' protocol".
I have implemented: "- (void)stream:(NSStream *)aStream handleEvent:(NSStreamEvent)streamEvent", which I believe is the correct delegate protocol method from: http://developer.apple.com/mac/library/documentation/cocoa/reference/NSStreamDelegate_Protocol/Reference/Reference.html
With that background, why the warning message?
John MacMullin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden