Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XCode 6.3 Warning: synthesize property

In new Xcode 6.3 I get this warning:

Auto property synthesis will not synthesize property 'homeInt'; it will be implemented by its superclass, use @dynamic to acknowledge intention

How I can remove it?

like image 731
UnRewa Avatar asked Apr 09 '15 09:04

UnRewa


2 Answers

If you are overriding the same property from the super class on purpose, then in your *.m or *.mm file, add @dynamic like:

@implementation MyClass  @dynamic homeInt;  // ...  @end 

If not, rename the property.

like image 173
Karmeye Avatar answered Oct 17 '22 09:10

Karmeye


I simply removed this property declaration, because it has already been declared in parent class

like image 27
stasick Avatar answered Oct 17 '22 10:10

stasick