On Nov 18, 2008, at 12:13 AM, mmalcolm crawford wrote:
On Nov 17, 2008, at 8:53 PM, Brian Stern wrote:
Here's my test project:
http://bellsouthpwp2.net/b/r/brians99/projects/TestPropertiesAndOutlets.zip
There are three labels that are outlets. One has a retain
property, one an assign property, and the third no property.
Unless they are released they are never dealloced. All three act
the same.
It would help if you declared/connected your outlets correctly...
//...
then you'll get the behaviour I described...
OK, fair enough.
You didn't address my other point regarding the memory warnings. If
the view controller is visible then it won't release the view
hierarchy. Your suggested code will null the outlet even though it
still exists, resulting in bugs in some cases.
--
Brian Stern
[EMAIL PROTECTED]
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]