• 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: Maintaining a List of instances of a class
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Maintaining a List of instances of a class


  • Subject: Re: Maintaining a List of instances of a class
  • From: Stefan Heukamp <email@hidden>
  • Date: Wed, 18 Jul 2007 18:45:16 +0200

Thanks, this was what I wanted


In Objective-C / Cocoa, I have this +(id) alloc function. But I don't know how to get the pointer to the instance here.

+ (id)alloc { id newInstance = [super alloc]; // Do something return newInstance; }
_______________________________________________

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


References: 
 >Maintaining a List of instances of a class (From: Stefan Heukamp <email@hidden>)
 >Re: Maintaining a List of instances of a class (From: Jonathon Mah <email@hidden>)

  • Prev by Date: Getting PDF data from a webView
  • Next by Date: Re: NSScreen + resolution change
  • Previous by thread: Re: Maintaining a List of instances of a class
  • Next by thread: Re: Maintaining a List of instances of a class
  • Index(es):
    • Date
    • Thread