Select Page

Set default values for has_one association

Sometimes you simply want to set some default values for an associated model within ActiveRecord without thinking too much of creating possible side effects when overriding methods like build_association or add model callbacks. The following example demonstrates the...

5 easy steps to integrate HealthKit

Whether you want to create a new HealthKit-enabled app or update your existing fitness or health app, this tutorial shows you how to easily integrate the new HealthKit API. This allows you to use all benefits of the iOS Health app, including storing your health and...

Creating iOS UITableViewCell animations

Today I gonna show you how you can easily animate your UITableViewCells  with UIKit  and QuartzCore out of the box functionality. This allows you to create smooth animation during state changes like adding or deleting some rows or sections of your table view....

Sprite flip animation with Cocos2D 3.1

After removing CCActionOrbitCamera from the Cocos2D framework our flip animation within on of our games did no longer work. We used it to simply flip cards with a nice visual effect. After searching for another approach for a while, we thankfully found something easy...