Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 5    Views: 131

mutzy
Aspiring developer
Profile
Posts: 841
Reg: Nov 03, 2010
Medford, MA
9,860
12/29/12 03:57 PM (13 years ago)

Will pay for help with personal conversion plugin

I am working on a personal plugin for my app that will do basic conversions for height, weight and temperature (a medical app). Here is a screenshot: <a href="https://www.dropbox.com/s/94drpjieb5ajck2/photo.PNG" target="_blank" rel="nofollow">https://www.dropbox.com/s/94drpjieb5ajck2/photo.PNG</a> I've done nothing except design the screen. If I had a month to kill I could probably figure out how to do the calculations on my own but have too much else going on. Could anyone do this for me? I'll pay you obviously. Josh
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
12/29/12 04:42 PM (13 years ago)
 
mutzy
Aspiring developer
Profile
Posts: 841
Reg: Nov 03, 2010
Medford, MA
9,860
like
12/29/12 04:53 PM (13 years ago)
I saw that, maybe he'll offer to help! But to be clear I'm not trying to develop a public calculator plugin. This is for my app only. And for now I'd rather use the plugin I designed specifically for my app rather than one in the plugin store. Thanks though! Josh
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
12/29/12 04:55 PM (13 years ago)
sorry about that!
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
12/30/12 01:11 AM (13 years ago)
Hello A fellow named Dave DeLong has released a Unit Converter on GitHub. It works! I tried his code for your conversions: Temp, Weight (mass), and Length Download the zip archive via https://github.com/davedelong/DDUnitConverter In main.m this is the sample code I tried to ensure it would work for you. I validated the results via Google. // Temperature conversion DDUnitConverter *t = [DDUnitConverter temperatureUnitConverter]; NSNumber * tValue = [t convertNumber:[NSNumber numberWithInt:32] fromUnit:DDTemperatureUnitFarenheit toUnit:DDTemperatureUnitCelcius]; NSLog(@"Temp in C is %@", tValue); // Weight (mass) conversion DDUnitConverter *m = [DDUnitConverter massUnitConverter]; NSNumber * mValue = [m convertNumber:[NSNumber numberWithFloat:10.9] fromUnit:DDMassUnitKilograms toUnit:DDMassUnitUSPounds]; NSLog(@"Mass in US lbs is %@", mValue); // Length conversion DDUnitConverter *l = [DDUnitConverter lengthUnitConverter]; NSNumber * lValue = [l convertNumber:[NSNumber numberWithFloat:72.5] fromUnit:DDLengthUnitInches toUnit:DDLengthUnitMeters]; NSLog(@"Height in Metric meters is %@", lValue); Now its a "simple matter" of wiring up that code to the User Interface screens of your plugin! :-) -- Niraj
 
mutzy
Aspiring developer
Profile
Posts: 841
Reg: Nov 03, 2010
Medford, MA
9,860
like
12/30/12 07:57 AM (13 years ago)
Niraj, thanks! I'll have a look to see if I can get this working!
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.