Blog Archives

iOS 4 & iOS 5 tutorial: UIAlertView with link to WIFI or Settings app using Reachability and XCode 4.2


This tutorial is about how to make your apps UX just a little bit better. Have you ever noticed the message in google maps stating that if you activate Wifi you would get a better positioning? Or that when you want to send a text message and your phone is on flight mode, that you get the message to de-activate flight mode in order to send a text?

Well, it is actually really simple. These are just links that are opened. So, in this tutorial I will show you how to do this using e.g. Reachability.

Posted in Apple, Development, Free stuff, iOS, iPhone, Mac, Objective-c, Tutorials, XCode Tagged with: , , , , , , , , , ,

Automatic incremental build number in xCode 4.3


I have always wondered how to get a better build number in my projects, instead of having to change is manually. So, I finally googled it and found a solution. Or better yet, found several… but none working for xCode 4.3.

In xCode 4.3 you can actually change the build number manually in the project settings. I have not found a solution yet to activate an automatic build number update, however I have not search so much for that either.

Posted in Apple, Development, iOS, iPhone, Objective-c, OSX, XCode Tagged with: , , , , , , , ,

XCode 4: CoreData Tab Bar Application template


When apples released its XCode application, it never added CoreData support to the Tab Bar Application template… although, in my case I usually want this feature. So… now I need to create a Tab Bar Application and a Window-based Application and copy the CoreData stuff from one to the other.
This is, off course, very annoying. So, what I want is to adapt the current templates to support even Core Data… “F*cking hell, this is most likely a mess to get working”… but I was wrong.
It is much easier to do in XCode 4 then it is in XCode 3.x. I am not going to cover XCode 3 cause I have gone over to the dark side (= XCode 4).

Posted in Apple, Objective-c, XCode Tagged with: , , , , , ,

Moving is over…

Finally, I have moved. I live now in Bromma, north-west of Stockholm. A few minutes from Bromma Airport, just at the other side of Solvalla.
I like the new apartment, although the surrounding is still a huge construction site; which is not that ideal with my 1.5 year old twins.

The apartment is brand new, so I am the first in the apartment to screw things up. Frida has been busy unpacking boxes and moving in stuff. All the boxes are currently in my new office and they all need to move so I can buy a new desk and setup my office. When that’s done I can start with writing some new tutorials.
I have decided to write two tutorials so far, both with regards to XCode 4 and how things work now.

Posted in Private & Personal, XCode Tagged with: ,

Programming Objective-C in XCode 4 – iPhone iOS 4.3 Hello, World! tutorial


Somewhat days ago Apple released a new version of XCode, and a lot of stuff is new in this version. Thereby also the layout of the application, interface builder and the way an application can be constructed.
But, for those of you completely new to development for iOS devices (and for those of you new to XCode 4 or for you who just want to shape up a bit? =S), I wrote a Hello World for XCode 4, iOS4.3.

So, lets get started.

Posted in Apple, Development, Objective-c, Okategoriserade, OSX, XCode Tagged with: , , , , , , , , , , ,