Re: Exception when entering too big value in text field (with number formatter)

2011-10-23 Thread Antonio Nunes
I looked a bit deeper and the problem seems to be, not so much with having a formatter attached to the field, but more essentially with returning no from the control:isValidObject: delegate method, when the text field's value is bound to an object controller. This causes the system to want to

Exception when entering too big value in text field (with number formatter)

2011-10-21 Thread Antonio Nunes
Hi, I have an NSTextField with a number formatter and an NSStepper in a view that is used in an NSPopover. The values of both interface items are bound to an ivar of the view controller via an object controller. Both the text field and the stepper have a max value of 9. When I enter a

Re: Exception when entering too big value in text field (with number formatter)

2011-10-21 Thread Nick Zitzmann
On Oct 21, 2011, at 4:13 AM, Antonio Nunes wrote: I'm not sure what, if anything, I'm doing wrong, and how to get this setup to function properly. I've done this type of binding before, but never in a popover window. Could it be a framework bug? Any ideas about what might be wrong with

Re: Exception when entering too big value in text field (with number formatter)

2011-10-21 Thread Antonio Nunes
On 21 Oct 2011, at 17:23, Nick Zitzmann wrote: 2011-10-21 11:49:49.520 AwesomeApp[35994:707] -[NSPopoverFrame titlebarRect]: unrecognized selector sent to instance 0x1050e7a30 …often happens when an object was deallocated, and then some other object was allocated in its place, and then