YOU NAILED IT! My formatter is returning an absurd value when presented with 
the string! Now if I can just figure out the regular expression to describe the 
string I'll be in business.

A trillion thanks!

On May 16, 2012, at 6:56 PM, Graham Cox wrote:

> 
> On 17/05/2012, at 2:44 AM, Charlie Dickman wrote:
> 
>> The actual problem is that I am telling an NSTextfield to set it's contents 
>> (the method is actually a part of NSCell from which NSTextfield inherits it) 
>> and it does not appear in the textfield. It used to work but I have no idea 
>> what I did to break it.
> 
> 
> Does the text field have a formatter? That might be changing its behaviour in 
> all sorts of ways. For example, if a number formatter has a maximum value, 
> your second string numerically has a much higher value than the first, so it 
> might be being rejected by the formatter.
> 
> But the mutable vs. immutable suggestion seems more likely.
> 
> --Graham
> 

Charlie Dickman
3tothe...@comcast.net




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to