Re: Crash when sorting tree bound to NSOutlineView
Re: Crash when sorting tree bound to NSOutlineView
- Subject: Re: Crash when sorting tree bound to NSOutlineView
- From: Markus Spoettl <email@hidden>
- Date: Sun, 28 Dec 2008 18:52:59 -0800
On Dec 28, 2008, at 6:07 PM, Kyle Sluder wrote:
Is the sorting a property of your model or of the view? If the
latter, why not use a sort descriptor? If the former, try using sort
descriptors and then wiring up a data source to the outline view and
implementing -outlineView:sortDescriptorsDidChange: to propagate the
sort back to the model.
HTH,
It did! Thanks very much, sometimes is so incredibly difficult to see
the most obvious things.
Thanks again!
Markus
--
__________________________________________
Markus Spoettl
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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