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

Dismiss UIPopoverController from subview

Closing an UIPopoverController from the subview, wether it is a UINavigationController any other type of controller can be a little bit of an hassle. I had this problem today and figured it out quickly. I thought of sharing this solution here.

The solution itself is quite simple. The ViewController creating the UIPopoverController is being reused to close it as well. This means that the UIPopoverController needs to be an accessible variable throughout that class.

So, how do we close it? well, this is how:

Posted in iPhone, Objective-c, Tutorials, XCode Tagged with: , , , , , ,

My “Wonderfull” Android Experience…

This might be a bit off-topic with regards to what I usually write about, and it might also be a “Flame-war” magnet… yet I just have to write about my “wonderful” Android experience.

Posted in Android, iOS, iPhone, Oh my freaking god!, Tests 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: , , , , , , , , , ,

Categories