Archives for 


Activity Indicator Example with Thread

When you develop the Apps in iOS, there are some tasks which take longer time. You can not ignore the user while there is some processing happening in foreground or background. On Apple iPhones you can inform the user about such tasks with the help of Activity Indicator view. This object shows rotating lines to suggest the user to wait until the activity is completed.

I am trying to build very simple example with threading to show activity indicator usage. There will be three objects in your XIB or storyboard. UILabel to show incrementing number. Activity Indicator View & UIButton object to control the movement of numbers.

Note: I’ve used Xcode 4.5.x with iPhone Simulator for iOS6 in this example, however this example can work on older iOS versions without any change.

Activity Indicator with Thread Example

Step 1:  Create new Xcode Project as Single View Application

New Single View App Project in Xcode
Continue reading →

Twitter App Code for iOS 5

Coding an application with Twitter API use to be a lot of mess prior to iOS 5. There was no inbuilt support from Apple side. For even basic message tweeting, you had to integrate third party libraries like SAOAuth and  MGTwitterEngine.

Apple has realized Twitter is very important functionality for any App to proliferate in Social arena. Twitter being Simple and open source project is perfect choice for Apple to integrate in iOS 5.

With Twitter APi integration you can let your friends know when you scored highest in the game, when you clicked that nice photograph or when you have a website URL for reference.

Twitter is now very integral part of iOS 5 Architecture. Lets see how to build a basic Twitter Client App for Apple iOS 5 API without any frills.


Continue reading →