• 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: Trouble with NSCollectionView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble with NSCollectionView


  • Subject: Re: Trouble with NSCollectionView
  • From: "Carter R. Harrison" <email@hidden>
  • Date: Thu, 17 Jan 2008 10:45:49 -0500

Thanks for the suggestions. I loaded up Spin Control and could see that the NSCollectionView was constantly attempting to refresh itself as I inserted more records into the managed object context. The solution was to create a new NSMutableSet, and add the new records into that set. When I was done adding records, I took the NSMutableSet and used setValue:forKey: to update the one to many relationship between the File NSManagedObject and the Message NSManagedObjects. Thanks guys.


On Jan 17, 2008, at 9:34 AM, I. Savant wrote:

Spin Control and Shark (/Developer/Applications/Performance Tools) are your friends. They'll tell you what's actually going on, rather than just hazarding a guess.

I'd suggest Instruments since you're already on Leopard (evidenced by NSCollectionView). Take the time to figure it out - it's well worth the effort.


--
I.S.




_______________________________________________

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: 
 >Trouble with NSCollectionView (From: "Carter R. Harrison" <email@hidden>)
 >Re: Trouble with NSCollectionView (From: "Kyle Sluder" <email@hidden>)
 >Re: Trouble with NSCollectionView (From: "I. Savant" <email@hidden>)

  • Prev by Date: CALayer content looks "blurry"
  • Next by Date: workspaceWillPowerOff error in Panther
  • Previous by thread: Re: Trouble with NSCollectionView
  • Next by thread: Core Data: how to prevent document being dirtied when chaging attributes?
  • Index(es):
    • Date
    • Thread