It is traditional to begin learning a new programming language by writing a “Hello, World” program. Since Swift is Apple’s new programming language for apps, I thought it only proper to write “Hello, Swift.” So here we go!
Sometimes it is useful to be able to create and add controls to views in code, without using Interface Builder. In this blog post, we’ll learn how to add a button and a label to our view. Other controls will follow the same general pattern. So, let’s get started!
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 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 waiting to adopt storyboards, now’s the time.
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 demonstrate how to force a view to refresh after a property of it has been changed. So let’s see how […]
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 […]