Sorting an array of strings in iPhone
The NSArray class is often used as a container for NSString objects, making it one of the most useful classes in the entire Foundation framework. In addition to providing indexed storage for objects,...
View ArticleGetting the duration of a touch on iPhone
Since iOS version 5, gesture recognizers have been added to the list of controls in the Interface Builder library. But sometimes we want more information about a touch than these handlers can easily...
View ArticleA Picker Lottery for iPhone
In this blog, we’ll see how to use a UIPicker control to implement a simple lottery application. The user will choose a two digit number using a picker control, then press a button to see if their...
View ArticleReversing a String in iPhone
Sometimes we want to perform some task on an object that is not included in the methods of that class. An example of this might be reversing the order of characters in an NSString object. While we...
View ArticleLoading HTML data using UIWebView in iPhone Development
Suppose if we want to populate the large amount of static data in iOS application then we generally use text view object to represent that data. Text view object is feasible for some situations. But if...
View ArticleUI Text Field and View Controls in iPhone
Most common issues arises while using UI TextField and UI TextView controls in iPhone (or iPad) development is that of dismissing the keyset when text entry is complete. In this blog, we’ll show you...
View ArticleSegment Control in TabBar Application in iPhone
In this application we will see how to change the background color using segmentControl, in TabBar Application . So let see how it will worked. Step 1: Open the Xcode, Create a new project using TabBar...
View ArticleControlling a UIViews properties for iPad
In this blog we’ll examine how to create a view object in Interface Builder that is backed by a UIView. We’ll control the view’s color and alpha channel properties by using sliders. The app will...
View ArticleImageChange using button pressed in iPhone
In this example we will see how to ImageChange using button pressed. So let see how it will work in our application. My previous post you can find out from here KeyBoard example Step 1: Open the Xcode,...
View ArticleTable Views in iOS 7 for iPhone
In this blog, we’ll take a new look at table views using Xcode 5 and iOS 7. This new version of iOS is the first to assume that we will be using storyboards rather than nib files, so if you’ve been...
View ArticleTab Bar Controller in iPhone
Tab bar controllers are used when we need to see more than one view of the same data. In this app, we’ll implement a simple version of an indexing utility, which counts the words in a text sample and...
View ArticleView Tint in iOS 7
An important part of developing with iOS 7 is having a consistent look and feel for our apps. One way this is achieved is through the use of tint. A view’s tint property defines the tint color applied...
View ArticleGesture recognizers in iOS
In this blog post, we’ll look at the built – in touch gesture recognizers that can be accessed using Interface Builder in Xcode. These gestures include taps, pinches, rotations, swipes, pans, and long...
View ArticleSimple threading in iPhone
In iPhone / iPad development, executing code on a thread other than the main UI thread is usually done to keep a long running process from blocking or stalling the user interface. In iOS, there are a...
View ArticleUpdating a progress bar (iPhone)
The UIProgressView control is a handy way to allow users to see the progress of a long – running task, but it is not immediately obvious to many new iOS developers how to update the control without...
View Article