Re: How to bind to NSMutableArray that may contain zero objects?

2012-04-10 Thread Michael Crawford
The problem I'm trying solve is that I have a crashing bug in the UI when an underlying array managed by an NSArrayController contains zero objects. The controls bound to the array-controller include an NSPopUpButton, an NSTextField, and four NSButtons. -Michael On Apr 3, 2012, at 6:53 PM,

Re: How to bind to NSMutableArray that may contain zero objects?

2012-04-10 Thread Quincey Morris
On Apr 10, 2012, at 07:34 , Michael Crawford wrote: The problem I'm trying solve is that I have a crashing bug in the UI when an underlying array managed by an NSArrayController contains zero objects. The controls bound to the array-controller include an NSPopUpButton, an NSTextField, and

How to bind to NSMutableArray that may contain zero objects?

2012-04-03 Thread Michael Crawford
Using and NSArrayController I'd like to bind the controller to an instance of NSMutableArray, which under certain circumstances may contain zero objects. I don't have any real experience with NULL placeholders but I assume this situation is what they are for. Can someone give me some guidance

Re: How to bind to NSMutableArray that may contain zero objects?

2012-04-03 Thread Quincey Morris
On Apr 3, 2012, at 15:29 , Michael Crawford wrote: Using and NSArrayController I'd like to bind the controller to an instance of NSMutableArray, which under certain circumstances may contain zero objects. I don't have any real experience with NULL placeholders but I assume this situation