Blog Archives

Prefill an signup form in iOS using Swift and CNContact

Usability and user experience is key to a successful app, so narrowing the taps a user needs to do to get from point a to point b is crucial. One of the areas where a users often needs to make a lot of taps is on signup forms; this, however, has been tackled different ways by many apps. Today the use of social login, before apps used the address book (e.g. the square app).

Posted in Cocoa Touch, Development, Free stuff, iOS, iPhone, Swift, Tutorials Tagged with: , , , ,

Getting ANT to work with YUI compressor on OS X

Hi!

A while ago, a colleague introduced me to YUI Compressor. I was really amazed. I knew there were such kind of tools/applications out there, but never really bothered to find our which ones and how they work. So, I though, being a Mac user, that this should work on my mac as well… well… yes and no. Its not so easy getting it up and running, and I want to be able to run an ANT target in my PHP project to get this working.

So, I had some digging around to do, and ended up with my own little guide on how to get it working.

Posted in 10.8, Apache, Apple, Free stuff, Mac, MacPorts, Objective-c, OSX, PHP, Shell scripts, Tools, Tutorials, Web, Websites Tagged with: , , , , , , , , , , , , , ,

Tool: Fix bootstrap server error when launching from xCode to iOS Simulator

Since the release of XCode 4.2 I have noticed a certain error poping up after buidling reguarly. The error incidcates that the iOS Simulator already has a process running or is hung. The anoying part is that even if you quit XCode and iOS Simulator, the problem wont go away.

This is the error:

Couldn’t register com.myApp.debug with the bootstrap server. Error: unknown error code. This generally means that another instance of this process was already running or is hung in the debugger.Program received signal: “SIGABRT”.

OR:

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

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

Categories