Cocoa Bindings, NSControllers, Source Lists and Multiple Selection
Cocoa Bindings, NSControllers, Source Lists and Multiple Selection
- Subject: Cocoa Bindings, NSControllers, Source Lists and Multiple Selection
- From: Matt Freels <email@hidden>
- Date: Mon, 16 Oct 2006 23:40:50 +0200
Hi all,
I'm currently trying to implement a Core Data application with what
amounts to two entities: a Data entity, and a group entity with a
many->one relationship with the data entity.
i have two table views set up, a source list which is bound to the
Group NSArrayController, and a data list which is bound to the Data
NSArrayController
my problem comes from trying to allow multiple source selection. I
have the data NSArrayController's contentSet bound the Group's
selection.dataset, and contentArrayForMultipleSelection bound to
email@hiddenet
my problem is that I keep getting this exception:
-[NSCFArray objectAtIndex:]: index (2) beyond bounds (2)
switching from source to source in the app works fine. multiple
select works fine, as long as i only add extra sources. when a source
is deselected, the data table stops updating and then the app crashes
if you click on data table.
Does anyone know what i'm doing wrong based off of that, or if not,
can anyone point me to a sample project that has multiple select
source lists?
Thanks!
Matt
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden