Singsys blog

Guide to Advanced iOS Animations through Auto Layout

auto layout iOS

Auto Layout is very powerful tool to control every view layouts in iOS. In case it is not used directly, the OS will auto transforms the view’s properties like the frame into constraints before laying out the views.

(more…)

Performing Simple Animations using NSTimer class

Here is a simple tip on how we can perform simple animation on objects in Xcode using the NSTimer class to create timers that call methods at regular intervals.

 

Using the NSTimer class –

 

There are many ways to perform simple animations. One of the easiest ways to perform animation is to use the NSTimer class. The NSTimer class creates timer objects, which enable you to call a method at a regular time interval. It also allows you to update the position of an image at regular time intervals. (more…)