I am encountering what I believe to be a spurious compiler warning. I wonder
whether this is a clue that I am doing something differently to how I
should do it. The problem comes if I define a protocol containing a
property and then define that property in a base class that does NOT conform
I am encountering what I believe to be a spurious compiler warning. I wonder
whether this is a clue that I am doing something differently to how I should
do it. The problem comes if I define a protocol containing a property and then
define that property in a base class that does NOT conform to
On 19/11/2010, at 12:38, Jonny Taylor wrote:
…
Can anybody comment on whether I am doing something strange here
Well I see something strange in here
Sample code to demonstrate this in a fresh Cocoa project (main.m) with Xcode
3.2.1/gcc 4.2 is as follows:
//==
@protocol
On Nov 19, 2010, at 06:38, Jonny Taylor wrote:
@protocol MyProtocol NSObject
@property int genericProperty;
-(void)subclassSpecificImplementationOfGenericFunction;
@end
@interface MyBaseClass : NSObject
@property int genericProperty;
@end
@interface MySubclass :
On 19 Nov 2010, at 14:38, Jonny Taylor wrote:
I am encountering what I believe to be a spurious compiler warning. I wonder
whether this is a clue that I am doing something differently to how I
should do it. The problem comes if I define a protocol containing a
property and then define