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 blocking on the main thread. In this blog, we’ll show a simple way to accomplish this. The code […]
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 couple of ways to perform tasks on new threads. In this blog, we take a look at the simplest of these, NSThread.
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 presses, which should be sufficient for most developer needs.
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 to all of its controls.
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 orders them by their frequency…
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 Base application. Give the application “TabBarWithSegmentControl”. Step 2: Xcode automatically creates the directory structure and adds essential frameworks to […]
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 how this is done. Start Xcode, and choose “Create a new Xcode project.” Choose the Single View Application template, and click […]
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 we want the different font sizes and different font colors to different paragraphs then text view is not at […]
In general, in iPhone applications whenever we want to select the date from calendar, we populate the UIDatePicker to show the dates. This is a native iOS feature. But if you want the customized version of the calendar, we don’t have any library or framework provided by iOS. In these situations we use third party […]
UICollectionView is one of the powerful feature that apple adopted for iOS SDK to customize the view in grid manner. Prior to iOS 6, to achieving this we have to use third party framework stuff like AQGridView. UICollectionView is similar to UITableView in concept because they use the almost same protocol reference like datasource and […]
In most of the iOS applications we will encounter the situation of having a single UILabel with different colors, different font style and sizes. Before iOS 6, there are no official properties or classes for achieving this feature. But in iOS 6, apple added the extra power to UILabel called attributedText. Means we can achieve […]
In this tutorial I will be looking into the MapKit, a new API’s made available by Apple in the iOS 3.0 and later versions. The MapKit allows simple access to the map seen in the maps application. Using GoogleMaps as its engine the map kit allows for a developer to make their own custom map […]
There are two ways to change the orientation of controls when the device orientation changes. The simplest way is to use the controls found in the Size Inspector (shown here) to set behavior for individual controls. If these settings do not allow the control that you need, the only other option is to change the […]