why isn't Xcode 4 even smarter?
why isn't Xcode 4 even smarter?
- Subject: why isn't Xcode 4 even smarter?
- From: Matt Neuburg <email@hidden>
- Date: Wed, 23 Mar 2011 15:52:16 -0700
In Xcode 4, when you create an outlet by dragging from a nib object to code in such a way as to generate an instance variable declaration, Xcode creates the instance variable declaration _and_ the corresponding +release+ call.
And when you create an outlet by dragging from a nib object to code in such a way as to generate a property declaration, Xcode creates the property declaration _and_ the instance variable declaration _and_ the @synthesize directive _and_ the corresponding release call in dealloc.
This is cool, but it does make one wonder why Xcode 4 can't do this for _any_ property or instance variable you create. If Xcode is so smart, why can't it be smart _any_ time I want to make a property? Why I am I still typing @synthesize and release myself???
Here endeth the moan of the day - m.
--
matt neuburg, phd = email@hidden, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Among the 2007 MacTech Top 25, http://tinyurl.com/2rh4pf
Programming iOS 4! http://www.apeth.net/matt/default.html#iosbook
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden