Blog Archives

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

Hi!

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: , , , , , , , , , ,

Getting the area code from a Swedish phone number using PHP

Hi!

Currently I am working on a little project where I need to fetch the area code form a phone number for Sweden. This, however, is not one of my strongest sides… I really hate Regex.
Since this is an iOS project, I would like some objective-C code… so I jumped over to one of the greatest sites I know and made a post: http://stackoverflow.com/questions/8188964/getting-an-areacode-from-the-phone-number

I got a great answer, which I approved, and made a test script in PHP. This is me sharing this test script. If you can use it, have fun with it but, Do not forget to Like the post and Flattr it 😉

Posted in Development, Free stuff, iPhone, PHP, Web Tagged with: , , , , , ,

Automatic incremental build number in xCode 4.3

Hi,

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: , , , , , , , ,

Where I am . at — New website launched

On tuesday this week I released a new website, the website is called “Where I am . At”: http://whereiam.at.

The purpose of this website is to find your location quickly and easily. This can be very usefull when developing iOS applications using your current location.

Take a look at, http://whereiam.at and let me know what you think of it!

Posted in Android, Apple, Development, iPhone, PHP, Websites Tagged with: , , , , , , , , , ,

iOS iPhone 4.3.1: Reclaim “other” space..

Hi,

This is something that has been bothering me for quite some time. I have an iPhone 4 32gb. I chose this model due to that I have quite a lot of pictures which I want to take with me. So, I sync my iPhone with iPhoto and copy about 9000 pics to my device. Still… this isn’t that much space.. only about 5-6gb. BUT… now the other day I got the error message from iTunes stating that “some pictures could not be copied due lack of space” (My translation from Swedish). So I checked the disk usage in iTunes and I have over 10gb used in “Other”. The biggest space users was the category “Application” which was about 9.2gb.

Posted in Apple, iPhone Tagged with: , , , , ,

Categories