Re: NSArrayController & bindings: next hurdle.

2009-09-23 Thread Colin Howarth
On 23 Sep, 2009, at 06:21, Kyle Sluder wrote: On Tue, Sep 22, 2009 at 9:17 PM, Colin Howarth wrote: Well *of course* I am now running with garbage collection... Typo, or perhaps I'm misinterpreting the sarcasm? I did put a smiley there. I don't think I was being sarcastic. More sort of

Re: NSArrayController & bindings: next hurdle.

2009-09-22 Thread Kyle Sluder
On Tue, Sep 22, 2009 at 9:17 PM, Colin Howarth wrote: > Well *of course* I am now running with garbage collection... Typo, or perhaps I'm misinterpreting the sarcasm? > I suppose I should read up on declared properties and garbage collection to > try and understand what was kabooming... If you

Re: NSArrayController & bindings: next hurdle.

2009-09-22 Thread Colin Howarth
On 23 Sep, 2009, at 05:42, Kyle Sluder wrote: On Tue, Sep 22, 2009 at 8:09 PM, Colin Howarth wrote: @property (assign) NSMutableArray *elements; If you're not running with garbage collection, KABOOM. --Kyle Sluder Well *of course* I am now running with garbage collection... :-) I supp

Re: NSArrayController & bindings: next hurdle.

2009-09-22 Thread Kyle Sluder
On Tue, Sep 22, 2009 at 8:09 PM, Colin Howarth wrote: > @property (assign) NSMutableArray  *elements; If you're not running with garbage collection, KABOOM. --Kyle Sluder ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: NSArrayController & bindings: next hurdle.

2009-09-22 Thread Colin Howarth
... And, of course, the accessors are @synthesized in the @implementation. On 23 Sep, 2009, at 05:09, Colin Howarth wrote: On 23 Sep, 2009, at 04:46, Kyle Sluder wrote: On Tue, Sep 22, 2009 at 7:21 PM, Colin Howarth wrote: So, I have an NSArrayController (in IB). Its Content Array is

Re: NSArrayController & bindings: next hurdle.

2009-09-22 Thread Colin Howarth
On 23 Sep, 2009, at 04:46, Kyle Sluder wrote: On Tue, Sep 22, 2009 at 7:21 PM, Colin Howarth wrote: So, I have an NSArrayController (in IB). Its Content Array is bound to an NSMutableArray (of 'Element') instance in my AppDelegate. No. It's bound to a property of some object. Please be

Re: NSArrayController & bindings: next hurdle.

2009-09-22 Thread Kyle Sluder
On Tue, Sep 22, 2009 at 7:21 PM, Colin Howarth wrote: > So, I have an NSArrayController (in IB). Its Content Array is bound to an > NSMutableArray (of 'Element') instance in my AppDelegate. No. It's bound to a property of some object. Please be precise; NSMutableArray isn't KVO-compliant, so if

NSArrayController & bindings: next hurdle.

2009-09-22 Thread Colin Howarth
Hi, just when I thought it was safe to go back into the water... So, I have an NSArrayController (in IB). Its Content Array is bound to an NSMutableArray (of 'Element') instance in my AppDelegate. If I alter an Element in a KVC way, then the Array Controller notices this and the NSTableView