Monthly archives of “February 2016

comment 0

#6 Basic LLDB tips

Long story short For a few years of programming iOS apps, my use of LLDB debugger has been minimal: That was all of it. Nothing to be proud of. Hitting a breakpoint and using a po command. I have known that po stands for ‘print object’ and that it can evaluate expressions. The more complex problems I had to deal…

#5 When compiler doesn’t know when a String is of String type

String initialised with a class Did you know that Swift 2.1 introduced new syntax for initialisation that works more or less like NSStringFromClass([Object class]) in Objective-C? From now on, you can initialise String in the following way: I dug the documentation and I found out that there is no initialiser that takes a class as an init argument. Because of…

comments 2

#4 Migration from Parse to Heroku

In this tutorial I will show how to migrate our iOS Parse application to Heroku step by step: In the first step we will migrate Parse DB to Self-Hosted MongoDB then we will set up Local Parse Server and finally we’ll deploy Parse Server to Heroku During creating this post I mainly based on Parse Server Guide, where you can…

comment 0

#3 Infix operator

Have you ever had a chance to see code similar to the one below? and you haven’t really known what all these words mean? Perfect☺ Let’s decode all keywords and make some simple examples to explain everything! But before we do that … Above code is used to define new custom operators in Swift. These operators can have no existing…