Detecting Network Status

Grab the sample code from here from Apple. 1) Add SystemConfiguration.framework into your project. 2) Drag & Drop 2 files Reachability.h & Reachability.m files into your project. 3) Go to your classXYZ.h file & declare – @class Reachability 4) Create … Continue reading

One of the common compilation problem – XCode4

Once you have started using XCode4.2, You might face some problems. I am gonna share one of the problems from that. XCode4.2 will no longer support “libz1.2.3.dylib”. If you have this framework in your application, you need to remove this … Continue reading

XCode4 Shortcuts

Editor ShortCuts Cmd + Ctrl + up/down Jump between .h & .m Files. Cmd + Ctrl + Left/Right Jump between Previous Edited Files/Next Edited files.   Layout Shortcuts Cmd + 0 hide or show navigators Cmd + opt + 0 … Continue reading

Creating MultiLevel UITableView – Expandable & Collapsable UITableView

Using this post, I am just going to quickly describe Creating MultiLevel – Expandable & Collapsable UITableView. Watch following screen-shots or the video to have more clarity. Expected Output is as follows. Code for Cell of TableView

code for … Continue reading

Customizing UITabBar – Using Images, UITabBarController & its delegate methods

tBar1

I have read many different kind of articles & lot many forums. I also tried to implement Tab Bar customization in many different ways. Finally I came up with a very short & simple solution. Implementation of this technique is very simple … Continue reading

Customizing UITabBar – Using Images, UITabBarController & its delegate methods

tBar1

I have read many different kind of articles & lot many forums. I also tried to implement Tab Bar customization in many different ways. Finally I came up with a very short & simple solution. Implementation of this technique is very simple … Continue reading

UITableViewCellSelection Style – Custom for Grouped Tables

UITableView Grouped

You might have read my previous post for changing UITableViewCellSelectionStyle customization. This post is for customizing the background color UITableViewCell. Just place following code, Download images & link/copy them to your project.

Images are as follows. Expected output is … Continue reading

Changing UITableViewCell Selection Color

UITableViewCell

Following code is an example for chaing the UITableViewCell Selection Color Just put following code to your cellForRowAtIndexPath method.