[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #36685] NSStreamDelegate is a formal protocol now

From: Thomas Davie
Subject: [bug #36685] NSStreamDelegate is a formal protocol now
Date: Tue, 19 Jun 2012 12:27:24 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2

Follow-up Comment #1, bug #36685 (project gnustep):

Woops sorry, pressed return by accident...

Apple defines NSStreamDelegate as a formal protocol now.  This causes valid
foundation code not to compile.

Steps to reproduce:
1) create a new class @interface A : NSObject<NSStreamDelegate> @end
2) compile the code

Expected results:
Compilation success

Actual results:
Failure due to the NSStreamDelegate protocol not being defined

Apple's definition:

@protocol NSStreamDelegate <NSObject>
- (void)stream:(NSStream *)aStream handleEvent:(NSStreamEvent)eventCode;


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]