The old blog
Posts
Notes on iPhone development, Linux, Django and infrastructure, written between 2008 and 2016.
-
Install json-framework
Tweet If you are attempting to write a Iphone application to talk to a webservice, JSON is one of the best ways to go. Now unfortunately there is no native support in the Iphone SDK for JSON. There is a project called …
-
JSON Error
Tweet If you want to show an error if the host is down it is pretty easy. This thinks you have read the other JSON posts. So look at the viewDidLoad function. This is a continuation of Custom UITableViewCell We are just …
-
More Complex JSON endpoint
Tweet Make sure you have JSON Framework installed first. This is a continuation from First JSON Iphone application So the last entry went into describing how we do very basic JSON. Now lets get into something a bit more …
-
Add a back button
Tweet Now that we have two views nicely done, we want to be able to navigate back to the main view. We do this with a back view in navigation bar in the top. Open up RootViewController.m and look for the viewDidLoad …
-
Create a view
Tweet So today we will create our first view. This takes over where Create a new class left off. So you can grab the source code from there if you need to. I also edited the arrows for the rows by following this …
-
Add Arrows to rows
Tweet I found a something a bit late what would of been nice to cover before. I guess it is better late then never right? In offical IPhone apps there are arrows on each row you can click on that mean you can click here …
-
Create a new class
Tweet So now that we have a working navigation based application. (download source here) We now want to move the data outside to a seperate class. We do this so we can use the data around the application and not just …
-
About the default files
Tweet I will attempt to explain what the default files are. If I get these wrong please correct me. So below is a screenshot of the default files that get placed in your project when you create a navigation based …
-
Add a application Icon
Tweet Now that you have a very basic app. If you click the menu button on the Iphone simulator, you will see the name of your app and above it is a nasty white box. If you want a nice little icon there you can just drag …
-
Adding more navigation items
Tweet So now that we have a hello world application that works, we want to add more items to the list. I would think most application will not have just one menu item. So here we go. The easiest way to do this is create …