• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Singleton ADC example - dealloc and assignment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Singleton ADC example - dealloc and assignment


  • Subject: Re: Singleton ADC example - dealloc and assignment
  • From: email@hidden
  • Date: Wed, 23 Jan 2008 02:08:36 -0800

Dear Jonathon,

Internet is a great place to be rude on. What was your goal of asking "Did you even look for "sharedGizmoManager = "? " ?
Possibly with some thoughtful insight you may have guessed that I have no clue when the method +allocWithZone is called.

To answer your question: yes

Now the rest of your answer was helpful.


On Wednesday, January 23, 2008, at 10:55AM, "Jonathon Mah" <email@hidden> wrote:
>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

  • Follow-Ups:
    • Re: Singleton ADC example - dealloc and assignment
      • From: Jonathon Mah <email@hidden>
References: 
 >Singleton ADC example - dealloc and assignment (From: email@hidden)
 >Re: Singleton ADC example - dealloc and assignment (From: Jonathon Mah <email@hidden>)

  • Prev by Date: Re: Singleton ADC example - dealloc and assignment
  • Next by Date: Re: Singleton ADC example - dealloc and assignment
  • Previous by thread: Re: Singleton ADC example - dealloc and assignment
  • Next by thread: Re: Singleton ADC example - dealloc and assignment
  • Index(es):
    • Date
    • Thread