Archive for August, 2011
Have you ever looked at the enumerateObjectsUsingBlock method of NSArray and wondered how you might use that design pattern in your own application. In this tutorial, I will be showing you how to do just this. We will be writing methods that accept blocks as arguments as well as learning how to declare block ivars and properties.
This tutorial assumes that you have at least a basic understanding of using blocks and Grand Central Dispatch (GCD). If not, …
Hello iCoders,
I have a quick tip today that I have been using in some of my development that you guys may find helpful in yours. Lately I’ve been developing a Framework. We mentioned a little something about it earlier here on iCodeBlog. When developing a .framework, a lot of times during my work I couldn’t place break points in the code and had to rely mostly on NSLog. NSLog however really wasn’t doing the job for me. So I …
The iPhone 4′s front camera is limited to 640×480 resolution. Although handy for video conferencing, for some apps that’s to small to yield a usable photo. Unfortunately the UIImagePickerController class does not have an option to restrict the user from using the front camera. Although you can check the size of the photo after the user is finished, it’s not great user experience to reject it after they go through the entire process of taking a photo.
One option is to …
Today I’m going to show you how to make a simple “Hello World” project on the iPhone. There are quite a few ways that this can be accomplished, however I am going to show you the way that I feel will be the most beneficial.
While I know many of iCodeBlog’s readers are veteran developers, this tutorial (and many in this series) are going to be geared towards the more novice developer. This group is often overlooked when it comes to …
Workout of the Day