The old blog
Posts
Notes on iPhone development, Linux, Django and infrastructure, written between 2008 and 2016.
-
Using threads for a JSON request
Tweet Make sure you have JSON Framework installed first. This is a continuation of Post JSON to a webservice So if you are writting your webservice application and you have to wait a few seconds to make the request and …
-
UIBarButtonItem with a custom view
Tweet The main project I am doing for Photoblog is an application to show all the latest entries and such. So I call a web service using JSON and it gives me the data I need. Now there might be a few second delay in …
-
Append to a NSString
Tweet I was working on appending to some strings and there is a way to do it with NSString but you are better off working with NSMutableString instead. I have a feeling doing it with NSString, if not done correctly, …
-
UIImageView in a custom cell
Tweet Make sure you have JSON Framework installed first. This is a continuation of Click a Cell So there has been some requests to do this. If you want to display a image in a custom cell it is pretty easy. It is about …
-
Click a Cell
Tweet Make sure you have JSON Framework installed first. This is a continuation of JSON Error So here is a quick tutorial on how to click on a cell and load some JSON data for that cell. So the idea is you have a unique …
-
Using NSUserDefaults
Tweet This will go over a quick run through of using NSUserDefaults. This is the class to use to save user preferences for example. It is pretty straight forward. Saving Data This is how you save data. NSUserDefaults …
-
Create a text input
Tweet So here is a quick no real code tutorial. This is another thing that took me a bit to figure out. For this example, I am putting a text input in a TableView. So here is my class declaration. @interface …
-
Add a navigation button
Tweet This will pickup where Create a view left off. So you can pick it up from there and download the source. You probably don’t even need the source but grab it if you wish Now when you create a new view, in …
-
Custom UITableViewCell
Tweet Make sure you have JSON Framework installed first. This is a continuation of More Complex JSON endpoint The reason why OOP is so powerful is that you can subclass everything to make it work or look just how you …
-
First JSON Iphone application
Tweet So now that we have the basics of installing JSON to our project, lets make a test application. I started by creating a new project and used the Navigation Controller Template. The first thing you want to do is …