synchronize the content of two arrays with binding
synchronize the content of two arrays with binding
- Subject: synchronize the content of two arrays with binding
- From: "Mei Fang Liau" <email@hidden>
- Date: Wed, 20 Feb 2008 11:23:00 +0100
I have a boolean array from a custom view and would like to synchronize the
content of the array with another boolean array from a custom controller
(inherited from NSObject) These two arrays has the same capacity( bool
test1[16] and bool test2[16] respectively)
I tried [testView bind:@"test1" toObject: testController withKeyPath:
@"test2" options:nil];
but it actually doesn't work, the debugger showes "test1" and "test2" are
undefined keyvalues. I tried to bind other attributes such as integer
instances and it works fine.
how can I use binding to synchronize the contents of two arrays? Thanks for
the help!
_______________________________________________
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