This is part of an ELC Tech Network

Category Archives: Recipes

5683url

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.
Also posted in Featured, iPhone Programming Tutorials | Tagged , , | 14 Comments
1337_Cereal_by_Alaskara

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 iPhone Programming Tutorials | Tagged , , , , | 14 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.
Also posted in Featured, iPhone Programming Tutorials | Tagged , , | 14 Comments

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 iPhone Programming Tutorials | Tagged , , , , | 14 Comments