Table View Tutorial Part 2 – populate the Table View with an NSMutable Array

This tutorial was originally posted in Feb. 2011.

In part one of this tutorial we created an app from a View-based Application and added a UITableView to our existing view. It was short and sweet and showed us how to add a Table View to an already existing view. In this tutorial we are going to create an NSMutableArray and use it to populate our table so each row doesn’t show the same thing. If you didn’t do the first tutorial you can grab the code here.
Continue reading

Table View Tutorial Part 1 – add a Table View to an exiting view.

This tutorial was originally posted in Feb. 2011

This will be a multi-part tutorial on the UITableView. When I first started trying to learn developing for the iPhone I had an app I was already working on and I wanted to add a TableView to one of the views. Well all the tutorials I found had you start out with a Navigation-based Application. Apple gives you this option and it creates a TableView app all ready to go for you. But I was still so new to things I had trouble taking that and finding a way to add the Table to an existing view. Seems trivial now but at the time it was a little frustrating. I didn’t want to start with a navigation-based app I wanted to know how to add a Table View to my app. Therefore the first part of this tutorial will be adding a Table View to existing view. We will be starting with a View-based app and adding the Table View rather than starting with the Navigation-based Application that comes ready to go with a Table View already in it.
Continue reading

Building a tab bar application part 2, add a Navigation Controller and a SegmentedControl.

This tutorial was originally posted in Feb. 2011.

This is part 2 of out tutorial on building an app up from the Tab Bar. In part 1 we created our new project and added a third view to the Tab Bar. In this part we’ll be adding to that.

You can get the code from part 1 here.

1.) The first thing we are going to do is add a View Controller to our FirstView. So open up MainWindow.xib in Interface Builder. Select Tab Bar Controller in the MainWindow.xib window.

Select Tab Bar Controller

Continue reading

Tab Bar Tutorial Part 1 – add a third view

This tutorial was originally posted in Feb 2011. I am getting all the old original posts back up before starting in on new ones.

After the article I wrote last night about thinking of app design, I thought I would do a tutorial to go along with it. This will be a multi-part tutorial in which we build a app from the ground up starting with a Tab Bar Application. Before we are done we will add a new view to the Tab Bar, we will add a Navigation Controller to one of the views, we’ll add a Segmented Control to drill into more detailed info on a view and we’ll add a more button to the Tab Bar which gives us a Table View for even more navigation. We’re going to hit on a lot of things before this is done, but I think it will be worth while. So many tutorials I went through when I started out did one thing and that was it. Going through the many parts of this tutorial will give us a better idea of how an app is actually built and put together. At least one type of app, one similar to the App Store or even the iPad. Part 1 will be simply creating our new project and adding a third view to the Tab Bar. So let’s jump in.
Continue reading

More Xcode and some Interface Builder

This blog was originally posted in Feb, 2011. I am posting all the old original tutorials before starting in on any new ones.

In this tutorial we will explore a few more things about Xcode and take a look at Interface Builder.

1.) We will still be working with the same app we did in the first two tutorials, our TestApp app. If you are starting on this tutorial just create a new View-based app and name it TestApp. Afterwards you will have a project window that looks similar to this.

Project Window

Continue reading

Some basics of the Xcode environment

This tutorial was originally done in Feb. 2011. I am in the process of getting all the old posts back up and then will start in doing new ones.

Disclaimer: If you have any experience with Xcode this will be a waste of your time. This is intended for someone who is starting Xcode for the first time and is just enough for them to be able to move on to the next set of tutorials. You have been warned.

In this tutorial I am going to explain a few of the basic things we see when we create a project in Xcode. I am using the same project we created in the Getting Started tutorial. It is just a View-based app named TestApp. So far we have added nothing to it. This in no way will be an all encompassing explanation of everything in the main Xcode project folder. Just going to touch on a few things that jump out and that you will use pretty soon.

1.) After creating the View-based app the main project window will look similar to this.

Project Screen

Continue reading

iPhone Programming – Getting Started

This tutorial was first published in March 2011. I am reposting just get all the old original tutorials back up and archived. I will try to post a more up to date tutorial on this subject once all the original tutorials are published again.

iOS Dev Center

This tutorial is designed to get you started in the app development world. I wish I had written this back when I first started so that it would come from the perspective of a beginner. Unfortunately that is not the case.

When I first started learning app programming I would occasionally get frustrated at tutorials that assumed I knew more than I really did. It is for this reason I am hoping to create this tutorial at step one. This won’t be of any help to you if you already have some exerience, But if you don’t, read on and feel free to comment or ask questions or make a suggestion. Have fun!
Continue reading

TheAppCodeBlog is coming back

So I had some technical difficulties with the site. My DB went down and then was lost. My host didn’t have a backup because it was too late by the time I noticed the error. This was back in May of 2014. It had been a few years since I had posted anyway. Unfortunately I got stuck in a position that was mobile (barely) but was not iOS and I just didn’t have the time to continue with the blog. But I just this week started a new position doing iOS that should allow me to start posting some new tutorials. I’m going to be learning a lot of new stuff and will pass on whatever I can.

As for all the existing tutorials, I will be working on getting them loaded back to the site. Even though I lost my DB I did have all the tutorials backed up. It will be a few weeks before the process starts because my new position is in a new location and I don’t yet have my backed up tutorials here with me, just my laptop.

But the good news is that all the previous tutorials will be coming back and new ones will be coming as well. So stay tuned!