when automatically prepares content doesn't
when automatically prepares content doesn't
- Subject: when automatically prepares content doesn't
- From: Matt Neuburg <email@hidden>
- Date: Fri, 16 Jun 2006 11:47:20 -0700
- Thread-topic: when automatically prepares content doesn't
Let's say I have an NSArrayController bound to MyObject's "thing", which is
an NSMutableArray ivar. And let's say I bind columns of an NSTableView to
that, in the usual way.
My experiments show that if I call the NSArrayController's "add" and edit
values in the table, the NSMutableArray is created (and it gets a dictionary
with the correct keys and values).
But if I implement the keyed accessors to "thing" in MyObject, this stops
working. I must initialize "thing" myself (e.g. in MyObject's awakeFromNib).
This is even though "automatically prepares content" is checked.
Is this known? Expected? Documented? Reasonable?
m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
_______________________________________________
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