-
Subscribe
Categories
Tutorials
- iPhone Programming Tutorial – Local Notifications
- How To Integrate Google Analytics Tracking Into Your Apps In 7 Minutes
- Pick Your Own Adventure iPhone Edition
- iPhone Coding – Turbo Charging Your Apps With NSOperation
- iPhone Coding Recipe – Shortening URLs
- iPhone Coding Recipe: Live Character Counter, Word filter, and 1337 Translator For A UITextField
- UITextField – A Complete API Overview
- iPhone Coding Tutorial – In Application Emailing
- iPhone Coding Tutorial – Inserting A UITextField In A UIAlertView
- iPhone Coding Tutorial – Creating an Online Leaderboard For Your Games
-
Archives
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
Recent Comments
- Jef on iPhone Programming Tutorial – Transitioning Between Views
- joe on iPhone Game Programming Tutorial – Part 1
- joe on iPhone Game Programming Tutorial – Part 1
- andy on iPhone Game Programming Tutorial – Part 1
- andy on iPhone Game Programming Tutorial – Part 1
- Anneke on iPhone Programming Tutorial – Using A TabBarView To Switch Between Views
- Afflick on Custom UITableViewCell Using Interface Builder
- Afflick on Custom UITableViewCell Using Interface Builder
- Bluebaroo on iPhone Programming Tutorial: Animating A Game Sprite
- Bluebaroo on iPhone Programming Tutorial: Animating A Game Sprite
Category Archives: iPhone Programming Tutorials
How To Integrate Google Analytics Tracking Into Your Apps In 7 Minutes
So, why would you want to integrate Google Analytics into your iPhone application. Duh, for the same reasons you would integrate it into your site. Google has extended their killer analytics platform to include mobile devices including the iPhone and Android devices.
The analytics API gives you some very powerful options to get as nitty gritty as you would like in your application tracking.
Also posted in Featured Tagged coding, google analytics, iphone, SQLite, stats, tracking 22 Comments
Pick Your Own Adventure iPhone Edition
A few days ago I came across this cool Pick Your Own Adventure game on Twitter from user Peretti. I decided to make a quick renewable application that used UIAlertViews and UIActionSheets to tell the story. We are going to implement the [...]
iPhone Coding – Turbo Charging Your Apps With NSOperation
So, let’s face it, MANY applications in the app store are “Clunky”. They have jittery interfaces, poor scrolling performance, and the UI tends to lock up at times. The reason? DOING ANYTHING OTHER THAN INTERFACE MANIPULATION IN THE MAIN APPLICATION THREAD!
What do I mean by this? Well, I am essentially talking about multithreading your application. If you don’t know what is meant by multithreading, I suggest you read up on it and return to this post. Let’s dig in and I’ll give you an example of the problem.
Also posted in Featured Tagged iphone, iPhone Coding, nosoperationqueue, nsinvocationoperation, nsoperation 27 Comments
iPhone Coding Recipe – Shortening URLs
I had some a to shorten URLs for an in-application Twitter client I'm working on and thought I would share my simple solution with you guys.
It's actually pretty straight forward and can be done in 1 line of code. I have broken it up into several for clarity.
iPhone Coding Recipe: Live Character Counter, Word filter, and 1337 Translator For A UITextField
I'm sure you have seen a Twitter client such as Twittelator Pro or Tweetie 2 count down the characters as you type your Tweet. This is done by responding to the Editing Changed action on a UITextField.
Today, I will show you how you can implement this functionality in your application as well as show you some other real world examples of responding to this action. Here are a few of the uses that we will discuss:
- Countdown of characters allowed - Used when the user is limited by a certain number of characters
- Word filter - useful in filtering out swear words or other unwanted text
- Live translator - our example will translate english to 1337 :)
I will create the core code and show you how to modify it slightly to implement the other 2 applications.
Also posted in Recipes Tagged 1337, Editing Changed, iphone programming, UITextField, Word filter 14 Comments
UITextField – A Complete API Overview
The UITextField is probably one of the most commonly used UI controls on the iPhone. It is the primary method of user input via the keyboard and provides a great deal of additional functionality. With the success of our las [...]
Posted in iPhone Programming Tutorials Tagged iPhone Coding, iphone programming, objective-c, UITextField 14 Comments
iPhone Coding Tutorial – In Application Emailing
A lot of applications you see have an email button. When you click it then it will leave the application and take you to the Mail application. It can get really annoying leaving the application and then going back in [...]
Posted in iPhone Programming Tutorials 33 Comments
iPhone Coding Tutorial – Inserting A UITextField In A UIAlertView
This will be a simple tutorial showing you how to put a UITextField in a UIAlertView. This is simple and just a couple lines if code. You will learn CGAffineTransform and coding UITextField programmatically. Heres a screenshots of what we [...]
Also posted in iPhone Game Programming 32 Comments
iPhone Coding Tutorial – Creating an Online Leaderboard For Your Games
As you may have seen, there are quite a few services out there offering free leaderboards. These are great and all, but sometimes you want to have complete control over your data. I have put together a complete tutorial detailing step by step how you can create your own online leaderboard. This will also give you a very simple introduction to interfacing with web services.
Also posted in iPhone Game Programming Tagged iphone, iPhone Coding, iphone game, leaderboard 36 Comments
iPhone Programming Tutorial – Local Notifications
Way back when, when everyone was still complaining about Apple's lack of support for (3rd party) multitasking, there was a simple solution put in place. This solution was known as push notifications.
Push notifications solved many of the issues associated with background processing. For example, when quitting the AIM application, the server could keep you logged in and send you a push notification when a new message arrived. You could then tap on a View button that would launch the app.
This solution is great and all, but it still requires that you have an active internet connection. As of iOS4, Apple has introduced a new type of notification that can be scheduled to fire within the device itself. It requires no complicated server programming, or additional configuration with iTunes. I am talking about Local Notifications.
How To Integrate Google Analytics Tracking Into Your Apps In 7 Minutes
So, why would you want to integrate Google Analytics into your iPhone application. Duh, for the same reasons you would integrate it into your site. Google has extended their killer analytics platform to include mobile devices including the iPhone and Android devices.
The analytics API gives you some very powerful options to get as nitty gritty as you would like in your application tracking.
Also posted in Featured Tagged coding, google analytics, iphone, SQLite, stats, tracking 22 Comments
Pick Your Own Adventure iPhone Edition
A few days ago I came across this cool Pick Your Own Adventure game on Twitter from user Peretti. I decided to make a quick renewable application that used UIAlertViews and UIActionSheets to tell the story. We are going to implement the [...]
iPhone Coding – Turbo Charging Your Apps With NSOperation
So, let’s face it, MANY applications in the app store are “Clunky”. They have jittery interfaces, poor scrolling performance, and the UI tends to lock up at times. The reason? DOING ANYTHING OTHER THAN INTERFACE MANIPULATION IN THE MAIN APPLICATION THREAD!
What do I mean by this? Well, I am essentially talking about multithreading your application. If you don’t know what is meant by multithreading, I suggest you read up on it and return to this post. Let’s dig in and I’ll give you an example of the problem.
Also posted in Featured Tagged iphone, iPhone Coding, nosoperationqueue, nsinvocationoperation, nsoperation 27 Comments
iPhone Coding Recipe – Shortening URLs
I had some a to shorten URLs for an in-application Twitter client I'm working on and thought I would share my simple solution with you guys.
It's actually pretty straight forward and can be done in 1 line of code. I have broken it up into several for clarity.
iPhone Coding Recipe: Live Character Counter, Word filter, and 1337 Translator For A UITextField
I'm sure you have seen a Twitter client such as Twittelator Pro or Tweetie 2 count down the characters as you type your Tweet. This is done by responding to the Editing Changed action on a UITextField.
Today, I will show you how you can implement this functionality in your application as well as show you some other real world examples of responding to this action. Here are a few of the uses that we will discuss:
- Countdown of characters allowed - Used when the user is limited by a certain number of characters
- Word filter - useful in filtering out swear words or other unwanted text
- Live translator - our example will translate english to 1337 :)
I will create the core code and show you how to modify it slightly to implement the other 2 applications.
Also posted in Recipes Tagged 1337, Editing Changed, iphone programming, UITextField, Word filter 14 Comments
UITextField – A Complete API Overview
The UITextField is probably one of the most commonly used UI controls on the iPhone. It is the primary method of user input via the keyboard and provides a great deal of additional functionality. With the success of our las [...]
Posted in iPhone Programming Tutorials Tagged iPhone Coding, iphone programming, objective-c, UITextField 14 Comments
iPhone Coding Tutorial – In Application Emailing
A lot of applications you see have an email button. When you click it then it will leave the application and take you to the Mail application. It can get really annoying leaving the application and then going back in [...]
Posted in iPhone Programming Tutorials 33 Comments
iPhone Coding Tutorial – Inserting A UITextField In A UIAlertView
This will be a simple tutorial showing you how to put a UITextField in a UIAlertView. This is simple and just a couple lines if code. You will learn CGAffineTransform and coding UITextField programmatically. Heres a screenshots of what we [...]
Also posted in iPhone Game Programming 32 Comments
iPhone Coding Tutorial – Creating an Online Leaderboard For Your Games
As you may have seen, there are quite a few services out there offering free leaderboards. These are great and all, but sometimes you want to have complete control over your data. I have put together a complete tutorial detailing step by step how you can create your own online leaderboard. This will also give you a very simple introduction to interfacing with web services.
Also posted in iPhone Game Programming Tagged iphone, iPhone Coding, iphone game, leaderboard 36 Comments






iPhone Programming Tutorial – Local Notifications