Tags » CALayer

Flatiron School Week 7 - BocceGame built with UIDynamicAnimator

UIKit Dynamics

In my spare time, I wanted to look at animating physics collisions so I found UI Dynamics. It’s a part of UIKit that has some build-in functionality to animate physics based interactions. 1,373 more words

Flatiron School

Making a frame for UIImageView

Sometimes making a frame for an image can take a dull-looking image and make it interesting.

Here is how you make a frame for UIImageView that’s both aesthetic and easy to code: 77 more words

Macoscope Blog | Understanding Frame

Frame is the king of layout. Everybody uses frames to position and resize their UIViews and CALayers. Throughout this post I’m going to focus my attention on… 52 more words

Understanding CALayer anchorPoint and position property

For me understanding position and anchorPoint was easiest when I started comparing it with my understanding of frame.origin in UIView. A UIView with frame.origin = (20,30) means that the UIView is 20 points from left and 30 points from top of its parent view. 108 more words


IOS Programming: The Big Nerd Ranch Guide

Quite interesting book, especially when the author talks about blocks (in stacks and in the heap), CALayers, animations, Bonjour.


iOS orientation animation does not happen smoothly

If you apply any changes to the layer of underlying view.

for example,

shadowImageView.layer.masksToBounds = NO;
shadowImageView.layer.shadowOffset = CGSizeMake(-5, 0);
shadowImageView.layer.shadowOpacity = 1.0;


How to "Toggle slow animations" on device

There’s very useful debugging feature in iOS simulator – Toggle slow animations, but it’s only a simulator functionality and there’s no way to have the same while debugging on device. 161 more words