To have a UILabel print out a price float with 2 decimal places you’ll want to cast a string with to except a float with 2 decimal places.
Entries Tagged 'XCode' ↓
iPhone How to: UItextField Value to Show Float with Zeros
August 31st, 2009 — iPhone Apps, iPhone Development, XCode
No Access to iPhone running OS 3.0.1 though XCode Organizer
August 29th, 2009 — iPhone Apps, iPhone Development, XCode
After updating the iPhone in iTunes to Software OS 3.0.1 I was unable to access it through the xcode organizer. After reinstalling the newest xocde (failed) and some digging I found a line of code you need to copy and paste into your terminal once, restart xcode, and you have access to pushing onto the iphone again.
Open up Terminal, copy below, paste and enter into terminal, restart xcode.
ln -s /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0\ \(7A341\) /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0.1