Posts tagged as: tutorial

Disable the iPhone’s Front Camera

August 23rd, 2011 Posted by: - posted under:Tutorials - 5 Comments

The iPhone 4′s front camera is limited to 640×480 resolution. Although handy for video conferencing, for some apps that’s to small to yield a usable photo. Unfortunately the UIImagePickerController class does not have an option to restrict the user from using the front camera. Although you can check the size of the photo after the user is finished, it’s not great user experience to reject it after they go through the entire process of taking a photo.
One option is to …

READ MORE

NSTimer: The Poor Man’s Threading – Code Snapshot

July 23rd, 2009 Posted by: - posted under:Snippets - 34 Comments

Introduction
Hey guys. So usually the posts we put up here involve screencasts and presentations, but we are going to start also posting small less time consuming pieces for the site. Today I bring to you a small project involving NSTimers. Today we are going to build an app that represents a horse race. We will create a view with 6 small UIView squares with a blue background at the bottom of the screen, we will use a timer to move …

READ MORE

iPhone Programming Tutorial – Creating a ToDo List Using SQLite Part 4

September 22nd, 2008 Posted by: - posted under:Tutorials - 116 Comments

This is the final installment of our 4 part series of creating a Todo list for the iPhone. In this tutorial, I will detail how to add and delete new todo objects from the SQLite database. Make sure that you have completed the following tutorials before you begin this one:

iPhone Programming Tutorial – Creating a ToDo List Using SQLite Part 1

READ MORE

iPhone Programming Tutorial – Creating a ToDo List Using SQLite Part 3

September 10th, 2008 Posted by: - posted under:Tutorials - 68 Comments

This is part 3 in our multipart series of creating a todo list for the iPhone. For this, you must have completed the following tutorials.

iPhone Programming Tutorial – Creating a ToDo List Using SQLite Part 1
iPhone Programming Tutorial – Creating a ToDo List Using SQLite …

READ MORE

iPhone Programming Tutorial – Creating a ToDo List Using SQLite Part 2

September 2nd, 2008 Posted by: - posted under:Tutorials - 111 Comments

This tutorial is part 2 in our series of creating a to-do list. I will assume that you have completed the following tutorial and its prequisites.

iPhone Programming Tutorial – Creating a ToDo List Using SQLite Part 1

I will be using the code produced from that tutorial as a base for this one. When you are finished with this tutorial, your application will look something like this:

In this section, I will not only teach you how to …

READ MORE

iPhone Programming Tutorial – Populating UITableView With An NSArray

August 8th, 2008 Posted by: - posted under:Tutorials - 330 Comments

The goal of this tutorial is to show you how to populate a UITableView with data from an array of objects. This will be the building block to display XML data as well as SQL data.
The theme of this application will be fruit. We will create an array of “fruit” objects that have some additional information besides the name. We will populate a UITableView with the names of the fruits. When the user selects a fruit …

READ MORE

iPhone Programming Tutorial – Transitioning Between Views

August 3rd, 2008 Posted by: - posted under:Tutorials - 211 Comments

This tutorial will focus on transitioning from one view to another. We will be utilizing Apple’s UINavigationController. I will be using the code from the “Hello World” tutorial that I previously wrote. So if you have not completed it yet, go ahead and do it and come back to this page. (It’s quick I promise). You can view it here.
In this tutorial you will learn:

Add A …

READ MORE

iPhone Programming Tutorial – Connecting Code to An Interface Builder View

July 30th, 2008 Posted by: - posted under:Tutorials - 215 Comments

Finally, we get to write some real code! In this tutorial, I will show you how to create an interface using Interface Builder and connect it to your code. We will be creating a UITextField, UILabel, and a Button. Now, don’t be intimidated that this tutorial is so long. I have really went into detail explaining everything as I go. You could easily scan over it and get the gist of it. Here’s how the application …

READ MORE

iPhone Programming Tutorial – UITableView Hello World

July 26th, 2008 Posted by: - posted under:Tutorials - 163 Comments

In this tutorial I will walk to you through creating a simple “Hello World” application using a UITableView for the iPhone. There are many ways that a Hello World program could be made on the iPhone, I am going to show you the simplest. This tutorial assumes you have a basic understanding of Objective-C. Apple has provided a very simple and straight forward tutorial on Objective-C. You can find it here.
You will learn how to:

READ MORE