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

Volvo On Call (VOC) API

Hi!

This subject is something that really interests me, its an awesome technology that has many prospects for the future. So, Of course I would like to know how it works.

Before you continue reading, I would like you to know that the information written below is for education purpose only. Using the things explained below (for what ever reason) might (most likely) be breaking the Swedish law (since the volvo on call server is located in Göteborg (Gothenburg)). Contacting and use data from the Volvo on call API might be seen as data trespassing, which Sweden has a law against (Describes as “Dataintrång” defined as crime in 4 chapter 9 § of the crime code (brottsbalken)).

Posted in Charles, Development, Hacking, iPhone, Mac, Objective-c, Tutorials, VOC, Volvo, Web, Wireshark 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: , , , , , , , ,

Categories