• 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: ARC and Singletons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ARC and Singletons


  • Subject: Re: ARC and Singletons
  • From: Karl Goiser <email@hidden>
  • Date: Wed, 03 Aug 2011 09:59:02 +1000

Hi Greg,

Is that wishful thinking or a hint about the future?
:-)


All I have to say is: yes please!!


Regards,

Karl


On 03/08/2011, at 5:43 AM, Greg Parker wrote:

> On Aug 1, 2011, at 9:02 PM, Kyle Sluder wrote:
>> if we had class storage (which in practice would be no different from
>> static global variables except for scope), class methods would still
>> be appropriate for a different set of tasks.
>
> Not necessarily. Class variables could be defined differently from global variables. If a class variable were defined in the natural way, as an instance variable for the class instance described by the metaclass, then class variables would be inherited in the same way that instance variables are. A subclass object would have its own copy of its superclass's variables, just like a subclass instance object has its own copy of its superclass instance's variables.
>
> --
> Greg Parker     email@hidden     Runtime Wrangler
>
>

_______________________________________________

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: ARC and Singletons
      • From: Dave Zarzycki <email@hidden>
References: 
 >ARC and Singletons (From: Jeff Kelley <email@hidden>)
 >Re: ARC and Singletons (From: Dave Zarzycki <email@hidden>)
 >Re: ARC and Singletons (From: Kyle Sluder <email@hidden>)
 >Re: ARC and Singletons (From: David Duncan <email@hidden>)
 >Re: ARC and Singletons (From: Jeff Kelley <email@hidden>)
 >Re: ARC and Singletons (From: Karl Goiser <email@hidden>)
 >Re: ARC and Singletons (From: Kyle Sluder <email@hidden>)
 >Re: ARC and Singletons (From: Greg Parker <email@hidden>)

  • Prev by Date: Re: Debugging "CGImageCreate: invalid image provider: NULL"?
  • Next by Date: Re: ARC and Singletons
  • Previous by thread: Re: ARC and Singletons
  • Next by thread: Re: ARC and Singletons
  • Index(es):
    • Date
    • Thread