Re: Trouble with NSCollectionView
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