I've been considering the best way to integrate user's choice of units in my 
app (metric and standard) and have yet to figure out a clean way of doing it.

I am considering using a custom formatter that will change it's behavior based 
on a globally accessible variable holding the type of system - probably in the 
App Delegate, since the app will store the data in the same units no matter 
what. The respective controllers can watch the keyValue of the app delegate and 
update their respective views when the App Delegate's variable changes.

Is this an acceptable use of a custom formatter, or am I making this harder 
than necessary?


---
Jericho Hasselbush
Ungrounded Software
http://un-grounded.com/

_______________________________________________

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