iPhone Development:Add image to UITableViewCell

Working with TableView is a regular process while creating apps for mobile platform.In this post i am going to tell you how to add image to a cell of tableview. As you all know a tableview in iPhone consist of cell.To draw a cell we will use data source method – (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath …

iPhone Development:Add image to UITableViewCell Read More »

iPhone Development:Enable ARC for a particular file in objective C

With ARC, iPhone app developer found a great relief from handling memory management. But, do you think what happened when you want to made changes in a source code that was made when ARC is not available and now you are integrating new libraries that uses ARC. To solve this issue we have a compiler …

iPhone Development:Enable ARC for a particular file in objective C Read More »

iPhone Development:Integrate Gyft API in IOS

Gyft provides a series of REST APIs, which enables reseller’s third party applications to offer their own end-to-end virtual gift card programs with minimal effort. In one of my application, i came across this API. The most pain for the IOS developer in their documentation is taht they did not provide objective C source to …

iPhone Development:Integrate Gyft API in IOS Read More »

iPhone Development:Disable ARC for a single file in a project in iPhone SDK

Automatic reference counting (ARC) was introduced in the iOS 5 sdk to free Objective-C programmers from having to handle memory management by making memory management the job of the compiler. Though you can disable ARC for a certain files in your project.You can use flag -fno-objc-arc for those files. To add this flag to certain …

iPhone Development:Disable ARC for a single file in a project in iPhone SDK Read More »

iPhone Development:Set/Reset badge of a tab in UITabBarController

In some of our apps, we need user to notify that something new happened to a particular section of the app.Suppose our app has three tabs and one of the tab name is New Offers. So for the users, to recognize instantly that new offers are available we set a icon or badge to our …

iPhone Development:Set/Reset badge of a tab in UITabBarController Read More »

UILocalNotification Tutorial: Add and cancel LocalNotifications in iPhone SDK

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.Local notifications can be scheduled on the user’s IPhone Device to fire at any given time; you can even …

UILocalNotification Tutorial: Add and cancel LocalNotifications in iPhone SDK Read More »

iPhone Development:Animate a view in Iphone SDK

Tags: #UIView  #Animation #Tutorial #IOS #UIView Animation Blocks Animation, one thing that make iPhone a cool device. So get ready to make your apps  as a cool  app through use of  animation. Suppose you want a view to slide in from right side of screen and went toward left side.For that purpose we can use UIViewAnimation provided in …

iPhone Development:Animate a view in Iphone SDK Read More »

iPhone Development:format a NSDate to DDMMYYYY

Tags: #NSDate  #NSDateFormatter #Tutorial #IOS #NSDate Format Now you can use above characters to format your NSDate in iPhone SDK using the class NSDateFormatter. Below are the steps that shows you how to use NSDateformatter. Step 1: Create an instance of NSDateFormatter. NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init]; Step 2: Set date format(format in which you want to …

iPhone Development:format a NSDate to DDMMYYYY Read More »

iPhone Development:Hiding TabBarController while pushing viewController in iPhone SDK

In many of our apps, we want to show a viewController that does not had a bottom tab but our app has been laid out on TabBarController.The default behavior of a TabBarController app is that it contains tab at the bottom of screen and is remained static throughout our whole app.Here’s problem occurred, when we …

iPhone Development:Hiding TabBarController while pushing viewController in iPhone SDK Read More »

iPhone Development:Pop to particular viewController

In this post i am going to tell you use of how one can pop back to previous view-controller in iPhone SDK. Objective C provides us two ways to pop back to a previous view-controller placed in a navigation stack.They are two ways to do it 1. popToViewController:(UIViewController *) animated:(BOOL) 2. popViewControllerAnimated:(BOOL) Second one will …

iPhone Development:Pop to particular viewController Read More »