Category Archives: iPhone Development
How to get the Return key to dismiss a UITextView
Need to dismiss they keyboard in a UITextView? Changing the Return key to read “Done” doesn’t make the iPhone keyboard to go away. Put this code in the delegate for your UITextView and your return key can behave more like … Continue reading
plist > JSON > XML
Having developed 4 or 5 iPhone apps now that download remote XML data from servers and populate tables view and other content, I can tell you without reservation that it is the slowest way to go. Performance using JSON is … Continue reading
How To Place a UIWebView inside a UIScrollView
To display several pieces of content on a screen, I needed several views. A scroll view (UIScrollView) was necessary to encompass the headline, photo and story text; I had the headline and photo at the top in a fixed area, … Continue reading
Xcode installation woes.
iPhone developers: if you install Xcode 3.2.3 to start developing iOS4 apps you may be surprised to find that all prior SDKs and Simulators before 4.0 for iPhone (and 3.2 for iPad) get removed. Trying to build using an older … Continue reading
Streaming Radio app approved
Fast on the heels of the last post, we are pleased to announce that Apple has approved Juggleware’s latest app, Radio Backporch Revolution. Initially we received a rejection letter from the App Store review team, saying that the app used … Continue reading
Apple v. Satire, part 17.
Pulitzer-prize winning satirist Mark Fiore had his app rejected by Apple because it “ridicules public figures.” Regular readers will remember that Juggleware’s own app Freedom Time was actually the test case of this unwritten and up-til-then unknown policy, which had … Continue reading
Juggleware app mentioned on NPR
NPR ran a story yesterday about Apple’s new iPad which just hit stores, but critics say that the “walled garden” approach (just like the iPhone) makes the Internet a less free place and could spell the end of the net … Continue reading
Making annotations fit on a Map View.
After struggling with formulae that convert degrees longitude and latitude to meters, I found a much better way to get annotations to fit on a Map View, thanks to this site: http://codisllc.com/blog/zoom-mkmapview-to-fit-annotations/
Helpful Core Data debugging
Core Data is really great, but if your app crashes without warning it can be a major headache. Replacing the default error handling code with this more involved approach saved me hours of time debugging: http://www.designcodeexecute.com/2009/08/28/iphone-sdk-coredata-debugging-error-1560-1570
Can not use an object as parameter to a method (Obj-C errors, part 2)
This is an easy one to seasoned X-coders, but one that tripped me up a few times when I first got started. BAD CODE: -(void) makePhotoFromImage: (UIImage )image; ERROR: can not use an object as parameter to a method TRANSLATION … Continue reading