In Xcode4, you can add a property, create ivar, receive release calls in dealloc, and set nil to viewDidUnload all by simply dragging the user interface component from the XIB editor into your view controller header file. All you have to do is name the property, and Xcode4 does the rest for you. Nice!
Unfortunately, if you just want to manually add a property, create a related ivar and manage memory in an arbitrary class, there is no way to do this. At least I have not found anywhere! Of course, the completion of the smart code is an improvement, but not like an intelligent operation, to add a boiler room to add a property.
wyzzy source share