I am new to Objective-c and I am wondering what is meant by making an asset? Can I just make a variable in the header? Why create a variable and an asset with the same name?
In addition to what Joshua said: qualities are consistent, while there are no variables, the entire cocoa Stands on KVO . You can tie a property and property, you can add a supervisor, you can use free valueForKey / valueForKeyPath and their 'set' brothers. If the value should be published (i.e. available for external classes) - To create an asset, you will get lots of free stuff just to make sure you have the appropriate storage management options ( assign , < Em> copy or maintain ) and thread-security modifier ( nonatomic ).
Comments
Post a Comment