• 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: NSArrayController subclass crash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSArrayController subclass crash


  • Subject: Re: NSArrayController subclass crash
  • From: Jaime Magiera <email@hidden>
  • Date: Sun, 3 Feb 2008 20:57:02 -0500


On Feb 3, 2008, at 8:42 PM, mmalc crawford wrote:

"new"

NSMutableDictionary *newTrackEvent = [[NSMutableDictionary alloc] init];


Hey, thanks. The greater issue was a misunderstanding on my part. I was thinking [NSMutableDictionary dictionary] was a convenience for [[alloc] init] . Seeing this in the docs teaches me differently...

---------------------------------
dictionary
....

Discussion

This method is declared primarily for use with mutable subclasses of NSDictionary.

If you don’t want a temporary object, you can also create an empty dictionary using alloc... and init.


---------------------------

thanks again,


Jaime Magiera

Sensory Research
http://www.sensoryresearch.net

_______________________________________________

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: 
 >NSArrayController subclass crash (From: Jaime Magiera <email@hidden>)
 >Re: NSArrayController subclass crash (From: mmalc crawford <email@hidden>)

  • Prev by Date: Re: NSArrayController subclass crash
  • Next by Date: Use of Mac OS X 10.5 / Leopards Garbage Collection Considered Harmful
  • Previous by thread: Re: NSArrayController subclass crash
  • Next by thread: Use of Mac OS X 10.5 / Leopards Garbage Collection Considered Harmful
  • Index(es):
    • Date
    • Thread