Re: NSNumberFormatter setFormat: in 10.3.9

2009-01-24 Thread Jonathan Fewtrell
Yes, I saw that. Maybe I misunderstood it. I thought that if the app was running under 10.3.9 the formatter would always be created as 10.0 format since the 10.4 format stuff didn't exist in the 10.3 frameworks. Isn't that right? Jon I believe that in 10.5, the default formatter

Re: NSNumberFormatter setFormat: in 10.3.9

2009-01-24 Thread Kyle Sluder
On Sat, Jan 24, 2009 at 3:49 AM, Jonathan Fewtrell jonathanfewtr...@mac.com wrote: Yes, I saw that. Maybe I misunderstood it. I thought that if the app was running under 10.3.9 the formatter would always be created as 10.0 format since the 10.4 format stuff didn't exist in the 10.3 frameworks.

Re: NSNumberFormatter setFormat: in 10.3.9

2009-01-24 Thread Jonathan Fewtrell
On 24 Jan 2009, at 09:27, Kyle Sluder wrote: On Sat, Jan 24, 2009 at 3:49 AM, Jonathan Fewtrell jonathanfewtr...@mac.com wrote: Yes, I saw that. Maybe I misunderstood it. I thought that if the app was running under 10.3.9 the formatter would always be created as 10.0 format since the 10.4

Re: NSNumberFormatter setFormat: in 10.3.9

2009-01-24 Thread Jonathan Fewtrell
On 23 Jan 2009, at 18:30, Jonathan Fewtrell wrote: My app, developed on 10.5 but targeted at 10.3.9 and above, contains the following code: NSNumberFormatter *formatter = [[NSNumberFormatter alloc] init]; [formatter setFormat:@#0;#0;#0]; It compiles without warnings. When running on

NSNumberFormatter setFormat: in 10.3.9

2009-01-23 Thread Jonathan Fewtrell
My app, developed on 10.5 but targeted at 10.3.9 and above, contains the following code: NSNumberFormatter *formatter = [[NSNumberFormatter alloc] init]; [formatter setFormat:@#0;#0;#0]; It compiles without warnings. When running on 10.3.9 it crashes with EXC_BAD_ACCESS in -

Re: NSNumberFormatter setFormat: in 10.3.9

2009-01-23 Thread Neil Allain
I believe that in 10.5, the default formatter behavior is 10.4 instead of 10.0 (in 10.4 the default behavior was still 10.0). Check out: http://developer.apple.com/DOCUMENTATION/Cocoa/Conceptual/DataFormatting/DataFormatting.html Neil On Jan 23, 2009, at 12:30 PM, Jonathan Fewtrell wrote: