NSArrayController - compound values vs Select Inserted Objects
NSArrayController - compound values vs Select Inserted Objects
- Subject: NSArrayController - compound values vs Select Inserted Objects
- From: Jonathan del Strother <email@hidden>
- Date: Thu, 13 Aug 2009 12:11:41 +0100
Heya,
I'm struggling a bit with an NSArrayController with content bound to
NSUserDefaultsController.
The NSArrayController manages dictionaries, and so it appears that I
need to select 'Handles Content as Compound Value'. Without this,
changes made to the array through an NSTableView don't seem to persist
(for reasons slightly beyond me).
However, I'd like it to auto-select newly added items. I've ticked
'Select Inserted Objects', but it has no effect. When I untick the
Compound Value checkbox, 'Select Inserted Objects' starts working
again.
Is this a bug, or am I misunderstanding something somewhere?
-Jonathan
_______________________________________________
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