Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

cblackburn

macrumors regular
Original poster
Jul 5, 2005
158
0
London, UK
Hey alll,

I'm developing a database app for a customer and he wants the program to be able to store the size of an object and be able to edit/view it in both metric and imperial. I was just wondering, before I go off the deep end and subclass NSTextField to do some funky imperial jazz, if there was a preformed class already out there in the wild?

Thanks

Chris
 

caveman_uk

Guest
Feb 17, 2003
2,390
1
Hitchin, Herts, UK
I wrote a bunch of NSValueTransformers to do it for BeerAlchemy. The user can enter weights/volumes in a range of metric, UK Imperial and US Imperial units. Works best with bindings but you can use them outside of that mechanism if you want.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.