Re: How to bind to NSMutableArray that may contain zero objects?
Re: How to bind to NSMutableArray that may contain zero objects?
- Subject: Re: How to bind to NSMutableArray that may contain zero objects?
- From: Quincey Morris <email@hidden>
- Date: Tue, 10 Apr 2012 09:55:49 -0700
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 four NSButtons.
OK, but please also tell us what the crash is. An exception? What exception message is logged.
Note that the bindings available for NSPopUpButton are a bit difficult to use: inflexible, unintuitive and incompletely documented. It's often much easier to manage pop up buttons directly through an outlet/delegate setup than it is to use bindings.
_______________________________________________
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