Swift Remove Trailing Zeros

Swift Remove Trailing Zeros In Swift remove trailing zeros is needed sometimes. When printing values, and I dont want any trailing zeros, but still need to do math with Double variables. I use two different methods of Swift removing trailing Read more…


Mobile Game Engine

Mobile Game Engine Mobile game engine are an alternative to native application programming. With native languages you need to program the engine your self, or make use of libraries. However there are lots of good alternatives out there to make Read more…


swift group separator

Swift Group Separator An example about Swift Group Separator. Long numbers can be a bit confusing to read if they dont contain group separator. By default you dont have that option in Swift. But it is quite easy to add Read more…


stencyl scrolltext

Stencyl Scrolltext I could not find any tutorials on how to do scroll text with Stencyl. If you have lived as long as me, you might remember the damascene in the 80s and 90s. I first did this kind of Read more…


touchid

IPhone TouchID protection Is TouchID protection useful or useless? It all depends really. It depends on who you want to protect your iPhone from. If your threat model is theft, your fingerprint is brilliant. If your threat model is coercion Read more…


iOS Gestures in Swift iOS gestures can be useful in your app. And here is a short demonstration on how to implement iOS gestures in your app. It seems like iOS gestures require one recogniser for each direction. //Recogniser let Read more…


upload Xcode projects to github

Upload Xcode projects to github Never used github until I started programming in Xcode. And one instructor talked about the importance of upload Xcode projects to github. At first I didn’t see it. Now I often check out github for Read more…