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 »

iPhone Development:Restrict character to be entered in UITextField

in iPhone application development, if you want to restrict users from entering unnecessary characters in text field then you can use the facility provide by NSCharcterSet. Below is the code snippets that allow user to enter only numeric characters into text-field.No other characters apart from numeric values will be inserted in text field. – (BOOL)textField:(UITextField

iPhone Development:Restrict character to be entered in UITextField Read More »

iPhone Development:Dismiss keyboard while using UITextField inside UIAlertView

Displaying a text-field inside UIAlertView is a good way to allow user enter a piece of information without letting him to navigate to other screen. The only common problem we faced in this case is hot to dismiss alert when user is done with typing. If alert/pop up has button to dismiss keyboard tehn its

iPhone Development:Dismiss keyboard while using UITextField inside UIAlertView Read More »

iPhone Development:Xcode does not recognize ipod after software update

When you update software on an iPod,iPhone ,sometimes xcode does not recognize it and shows a yellow dot in front of the device name in organizer.To overcome this without installing a newer version of xcode, follow the given below steps: Open up organizer in xcode. Right Click on devices and on the left pane select

iPhone Development:Xcode does not recognize ipod after software update Read More »

iPhone Development:Customize a UISlider in iphone sdk

Want to make a custom UISlider like shown in below image. To made a  UISlider as shown in the figure, we can use given below code snippet CGRect frame = CGRectMake(174, 12.0, 120.0, 40); customSlider = [[UISlider alloc] initWithFrame:frame]; [customSlider addTarget:self action:@selector(sliderAction:) forControlEvents:UIControlEventValueChanged]; // in case the parent view draws with a custom color or

iPhone Development:Customize a UISlider in iphone sdk Read More »