I just spent many hours tracking down a problem that turned out to be that a column width had been written to my app's user defaults as Not a Number (nan). The only line of code that writes this pref assigns it directly from -[NSTableColumn width]. I don't see any indication in the documentation that this method can return nan. Has anyone ever seen -[NSTableColumn width] return nan?
Yes, I've fixed the effect by checking it with isnan() on the way in and out of user defaults._______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com