UIAlertController in iOS 8

If you’ve developed for iOS in the past using Objective – C, you’ll remember creating alert views and action sheets using the UIAlertView and UIActionSheet classes. In iOS 8, these classes have been deprecated in favor of the new UIAlertController class. In this blog, we’ll take a look at how to present both alerts and action sheets with UIAlertController.



Optionals in Swift

Before we get too far along in this existential ramble, perhaps we should answer the question of the day: “If nil is nothing at all, what is nothing at all good for?”



A Hello app in Swift

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!



Text to speech in iPhone

With the vast number of features added to iOS 7 last fall, it is easy to overlook a few of them. In this blog, I’ll show you how to use the speech synthesizer to convert text to audible speech.



Creating controls in code

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!



Grand Central Dispatch for iPhone

In the previous two blog posts, we’ve looked at implementing threaded code using NSThread and NSOperation. In this post, we’ll take a look at threading using Grand Central Dispatch.



Updating 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 blocking on the main thread. In this blog, we’ll show a simple way to accomplish this. The code […]



Simple 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 couple of ways to perform tasks on new threads. In this blog, we take a look at the simplest of these, NSThread.



Gesture 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 presses, which should be sufficient for most developer needs.



View 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 to all of its controls.



Tab 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 orders them by their frequency…



ImageChange 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.



Segment 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 Base application. Give the application “TabBarWithSegmentControl”. Step 2: Xcode automatically creates the directory structure and adds essential frameworks to […]



UI 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 how this is done. Start Xcode, and choose “Create a new Xcode project.” Choose the Single View Application template, and click […]



Loading 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 we want the different font sizes and different font colors to different paragraphs then text view is not at […]



Page 1 of 1412345...10...Last »
© 2010 - 2013 EDUmobile.ORG