Interesting stats from an interesting site… 148Apps.biz | Apple iTunes App Store Metrics, Statistics and Numbers for iPhone Apps
In doing localization work, I found several useful links, but this is the most concise: Localization Guide for iPhone Applications, built with Apple Xcode The main points are: Extract strings from your xib files: [sourcecode lang=”cpp”]ibtool –generate-strings-file Example.strings en.lpoj/Example.xib[/sourcecode] Extract strings from your code: [sourcecode lang=”cpp”]genstrings -o en.lproj *.m[/sourcecode] Get those translated (or translate them Read more about Localize an iPhone App[…]
iPhone UIView Has Blurred Subview | markjnet As the box is sized with an even number of pixels, 174 x 82, setting the origin relative to the center results in an origin at half pixels: 73.5, 69.5. Core Graphics goes ahead and renders at the half pixel position, but as the view is drawn at Read more about iPhone UIView Has Blurred Subview | markjnet[…]
JSON Framework Codesign – “object file format invalid or unsuitable” « Matt Galloway’s iPhone Apps (reposted here for archival) I started using the lovely json-framework for the iPhone but then suddenly found that if I compiled for anything greater than 2.1 for a device, that it would pop up with: > Codesign error: “object file Read more about JSON Framework Codesign – “object file format invalid or unsuitable” « Matt Galloway’s iPhone Apps[…]
I got an icon from a client w/ the corners already rounded and reflection added. I knew this was optional on the app store submission, but I wasn’t sure about the device itself. Well,… iPhone » Icon Rounding and Reflection The setting for Info.plist is UIPrerenderedIcon – and if you edit the file as ‘Open Read more about iPhone icon optional reflection/rounding[…]
Cocoa Samurai: Complete Xcode Keyboard Shortcut List (UPDATED) Nuf said.
Conditional Linking to System Frameworks – CoreServices – iPhone Dev SDK Forum For 2.2.x… There may be occasions when you need to configure your application target so that it links against one framework to run on the iPhone Simulator and another framework to run on a device. For example, the CFNetwork API is a stand-alone Read more about Conditional Linking to System Frameworks – CoreServices – iPhone Dev SDK Forum[…]
Installing iPhone SDK 3.0 The key step being number 5 below… 1. Boot into a partition with the Mac OS X v10.5.6 or later installed. 2. Download the iPhone SDK DVD software. 3. Double-click on iPhone SDK. 4. Follow the instructions in the Installer. 5. To install Xcode 3.1.3 in a directory other than the Read more about Installing iPhone SDK 3.0[…]
Adding phonenumbers to ABPerson Also, email addresses are similar… [sourcecode lang=”cpp”] // Where email is the string and kABOtherLabel cd also be kABHomeLabel or kABWorkLabel. ABMutableMultiValueRef emailMultiValue = ABMultiValueCreateMutable(kABPersonEmailProperty); ABMultiValueAddValueAndLabel(emailMultiValue, email, kABOtherLabel, NULL); ABRecordSetValue(person, kABPersonEmailProperty, emailMultiValue, nil); [/sourcecode] Update: Here’s code to fetch phone numbers… [sourcecode lang=”cpp”] ABMutableMultiValueRef phoneNumberMultiValue = ABRecordCopyValue(record, kABPersonPhoneProperty); for (CFIndex Read more about Adding phonenumbers to ABPerson[…]
I went back to an old project I hadn’t worked on in a while and got this error… ASSERTION FAILURE in /SourceCache/DevToolsBase/DevToolsBase-1148/pbxcore/Target.subproj/XCCodeSignContext.m:458 Details: Error: failed to locate ResourceRules.plist in… Stepcase » Blog Archive » Build error after upgrading to iPhone SDK 2.2 $SDKROOT/ResourceRules.plist
iPhone on Rails and ObjectiveResource I can’t say it better than their site does: “Making communication between the iPhone and a Rails web-service pain-free.” “love at first site” – I’ll second that! Their screencast shows how pain-free it really is. Great job!