• 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: NSArray as a class variable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSArray as a class variable


  • Subject: Re: NSArray as a class variable
  • From: Dave Keck <email@hidden>
  • Date: Fri, 25 Dec 2009 19:12:23 -1000

Presumably you're not using garbage collection. If that's the case,
suitArray is being deallocated because you didn't retain it. Probably
time to check out the memory management guidelines:

    http://developer.apple.com/mac/library/documentation/cocoa/Conceptual/MemoryMgmt/Articles/mmObjectOwnership.html

Particularly the bit under "Obtaining Objects Using Convenience Methods"
_______________________________________________

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: NSArray as a class variable
      • From: Michael Craig <email@hidden>
References: 
 >NSArray as a class variable (From: Michael Craig <email@hidden>)

  • Prev by Date: NSArray as a class variable
  • Next by Date: Re: NSArray as a class variable
  • Previous by thread: NSArray as a class variable
  • Next by thread: Re: NSArray as a class variable
  • Index(es):
    • Date
    • Thread