Nov 18 2011

Getting the area code from a Swedish phone number using PHP

flattr this!

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 ;)


Aug 3 2011

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.


Aug 1 2011

Spotify invites

flattr this!

Little off topic from my usual posts, just wanted to let you guys know that I have some (10-20) Spotify invites to give away. Maybe some of you US visitors that are interested?
Leave me a comment with your email address and I’ll send you one.


Jul 14 2011

Where I am . at — New website launched

flattr this!

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!


Jul 12 2011

An open letter to…

flattr this!

… all whom are or thinking of parsing the City Bikes data for Stockholm.

I felt I needed to write this post since I have been thinking about a “twitter” conversation I had a few weeks ago with some Spanish dude.

Since I have the sole right to the Clear Channel API’s for the Citybikes in Stockholm, I choose not to share these publicly with 3rd parties. This (off course) seems to annoy some people. Shortly after I received a question from an other developer regarding why I don’t want to share these publicly.