Hi,
I have an ArrayController in IB to manage an array of NSObjects (a
custom class) for a TableView. When a new item is inserted via a
button connected to insert: a new instance of my class is created and
appears in the table. However, I want to be able to control the
property values
Subclass and override newObject which is declared in
NSObjectController.h
You can set any properties you like from there.
-
RONZILLA
On Aug 19, 2008, at 7:27 AM, Chris Poliquin [EMAIL PROTECTED]
wrote:
Hi,
I have an ArrayController in IB to manage an array of
This is maybe an answer as well as a question.
Doesn't the bindings call the init method when creating a class
object? Couldn't you just overwrite the init method on your custom
class to set any necessary values?
Justin Giboney
On Aug 19, 2008, at 8:27 AM, Chris Poliquin wrote:
Hi,
I
On Apr 14, 2008, at 11:53 PM, antikraft clover wrote:
If I am subclassing NSArrayController to provide and update an array
of objects, which methods do I need to implement ?
What are you trying to accomplish. The only time that I regularly
subclass NSArrayController is to implement drag
On Apr 14, 2008, at 11:53 PM, antikraft clover wrote:
A very newbie-ish question:
If I am subclassing NSArrayController to provide and update an array
of objects, which methods do I need to implement ?
you may want to provide more information, or re-check the docs.
it shouldn't be necessary