How to build a good API: Relationships and endpoints

In first blog post we wrote about how to design a good API. Now we are going to take the next step and talk about Relationships and andpoints. Resource relationships in API There are 3 three main types of relationships between resources: One to one One to many Many to many One to one In this…

Read More

Working with Google Firebase – Introduction and using Authentication service

Recently we have been exploring how to create multi platform apps (Android and iOS) that would sync data across supported platforms. We wanted to minimize the need for complex server logic, and if possible, remove custom server logic. Then we came across Firebase. Sounds familiar?  Let me give you a short intro. Firebase is the Google’s…

Read More

Making custom UISwitch Part 2

In the second part of Making custom UISwitch we will make this control more customizable  with IBDesignable and IBInspectable, add an image to thumb view of switch, on/off labels and on/off thumb images. IBDesignable and IBInspectable are very handy features that are introduced with Xcode 6. They allow us to create custom controls that are…

Read More

Making custom UISwitch (Part 1)

Making custom UI elements is one of my favourite things to do in whole iOS development even if UIKit sometimes makes things harder to do than they should be. In my relatively short career as an iOS developer I’ve came across a few custom UI elements created by various developers across various projects. Some of them…

Read More