Apple needs to fix this one. There is an inconsistency in the way that the UIDatePicker is rendered in Storyboards in Xcode vs. their rendering at runtime. This problem set me back longer than it should have this morning, since its effect was tricky to diagnose. The basic consequence of this was that the custom UIButton I had […]
In a much needed area of training for Xcode/Mac/iOS developers, iDeveloperTV and Graham Lee have put together a modestly-priced course on Unit Testing and TDD. Unit Testing with Xcode In this course Scotty and Graham Lee help you to not only understand the mechanics of unit testing in Xcode but also show you how you […]
Good tip from iOS Developer Tips for using the “Related Files” button in the upper left corner of your code window (right next to the Back/Forward navigation buttons): Xcode 4 : Related Files List With Xcode 4 you can quickly access an assortment of files related to your project through the Related Files option in […]
This sounds like it could really be a problem for developers who store anything but truly temporary data in the Caches or tmp directory… Cleaning… – Marco.org Every iOS app has its own “home” directory where it can store files. Every file and directory that an app puts there, except anything in a Caches or […]
Nice rundown on Xcode 4 Code Snippets: Xcode 4 Code Snippets – Speed of Light Xcode 4 Code Snippets ? Perhaps my favourite feature of Xcode 4 is the Code Snippets feature. It allows you to use common bits quickly in your code, instead of requiring you retype them over and over again.
Nice little introductory tutorial for using UIActionSheets in iOS. Simple Menus and Messages with UIActionSheet If you need to create a quick menu or present a user with a short message, you may want to consider a UIActionSheet as an option. This control will slide up from the bottom of the screen, and offers a […]
For the longest time, to perform a search in Xcode I would take a standard, yet uninformed, approach by selecting a desired region in my code, copy it to the clipboard with Command-C and then perform a Command-Shift-F to find all instances of the search in my project. Cool. Then after a while I actually […]
Recently, I was having an issue I was having with subviews added to my UIButton objects that I was customizing. The buttons would behave fine if they were standard rounded rect buttons, but the moment I added a UIView and some UILabels to it, the taps stopped responding. But I was able to resolve it, thanks to […]
Handy tip of the day: To scroll to the top of a UITextView, simply use the following method: [textView setContentOffset:CGPointMake(0.0, 0.0) animated:YES]; Hope it helps!
For a project I’m working on, I needed to know how to monitor the input level using AVAudioRecorder. Thankfully, this post from Dan Grigsby was very helpful in setting up the polling mechanism (though you might not guess it from the title!): Tutorial: Detecting When A User Blows Into The Mic If, a couple of […]