Re: Making NSNumberFormatter empty-tolerant

2009-08-27 Thread Frédéric Testuz
Le 27 août 09 à 21:46, bryscomat a écrit : Interesting. Is that documented anywhere? That's why I was confused as to exactly how I got mine to work. Seems like a fluke... On Aug 27, 2009, at 2:39 PM, Frédéric Testuz wrote: I had the same problem. For the 10.4 behaviour of NSNumberFormatte

Re: Making NSNumberFormatter empty-tolerant

2009-08-27 Thread bryscomat
Interesting. Is that documented anywhere? That's why I was confused as to exactly how I got mine to work. Seems like a fluke... On Aug 27, 2009, at 2:39 PM, Frédéric Testuz wrote: Le 27 août 09 à 20:45, Markus Spoettl a écrit : Hello, before I get to the question this is my setup: 1) NSTe

Re: Making NSNumberFormatter empty-tolerant

2009-08-27 Thread Frédéric Testuz
Le 27 août 09 à 20:45, Markus Spoettl a écrit : Hello, before I get to the question this is my setup: 1) NSTextField ("field") 2) bound to an NSNumber property ("number") of an object. 3) "field" has an NSNumberFormatter attached with all default values (as set up by IB), except maximum fra

Re: Making NSNumberFormatter empty-tolerant

2009-08-27 Thread bryscomat
I solved this before by putting a single space in the Null Placeholder spot on the bindings panel in IB. It worked for me. On Aug 27, 2009, at 1:45 PM, Markus Spoettl wrote: Hello, before I get to the question this is my setup: 1) NSTextField ("field") 2) bound to an NSNumber property ("nu

Making NSNumberFormatter empty-tolerant

2009-08-27 Thread Markus Spoettl
Hello, before I get to the question this is my setup: 1) NSTextField ("field") 2) bound to an NSNumber property ("number") of an object. 3) "field" has an NSNumberFormatter attached with all default values (as set up by IB), except maximum fraction digits is set to 1. 4) "number" can be