How to stop protocols from generating warnings?
Posted
by user314684
on Stack Overflow
See other posts from Stack Overflow
or by user314684
Published on 2010-04-12T15:56:15Z
Indexed on
2010/04/12
16:02 UTC
Read the original article
Hit count: 273
objective-c
|protocols
Hi, if I have a protocal defined, then it always generate a lot of warnings when compile.
like
@property (retain) id <SomeProc> value
then in the code:
[value class]; ...
[value release]
the compiler always complain it "may not have class or release defined".
Is there a way to fix this?
© Stack Overflow or respective owner