bug-gnustep
[Top][All Lists]
Advanced

[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...

Description:
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

Notes:
Apple's definition:

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


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?36685>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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