Re: Singleton ADC example - dealloc and assignment
Re: Singleton ADC example - dealloc and assignment
- Subject: Re: Singleton ADC example - dealloc and assignment
- From: Jonathon Mah <email@hidden>
- Date: Wed, 23 Jan 2008 20:25:53 +1030
Hi s5804,
On 2008-01-23, at 20:14, email@hidden wrote:
Further I don't understand when the singletone holder point shall be
assigned.
Did you even look for "sharedGizmoManager = "? It's 6 lines down.
Instead of placing the assignment in +sharedManager, they decided to
place it in +allocWithZone: (roughly equivalent to setting it in a
Java constructor). You could do it either way.
Jonathon Mah
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden