objective c - GCC 4.2 warning for object that no longer exsists -


i had nsstring named responsereference put in @property so...

@property (nonatomic) nsstring *responsereference; 

and got warning:

no 'assign', 'retain', or 'copy' attribute specified - 'assign' assumed assign attribute (default) not appropriate non-gc object property 'responsereference' 

so fix changed code this:

@property (nonatomic, retain) nsstring *responsereference; 

but still got warnings. tried many things , ended trying remove warnings removing object existence. when responsereference no longer part of of code still gave me exact same warning responsereference. restarted x-code. no beans.

can explain why it's giving me these warnings though object it's talking doesn't exist? also, these warnings mean compiled code affected?


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -