On 02.04.2008, at 18:12, Ben Lachman wrote:
I think the easiest way to encode/decode NSRects for storage is NSStringFromRect() and NSRectFromString(). Then you can just implement a custom accessor for the property that converts in the direction you need.

That potentially means opening Pandoras can to localisation issues. Any time you go that route, be sure to check that code with switching decimal separators.

In my opinion it sucks like hell when your Pages document containing a table has all numeric data messed up due to "unparseable" numbers...

Regards,
        Tom_E

_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [EMAIL PROTECTED]

Reply via email to