Before talking about strongSelf and weakSelf, I need briefly explain retain cycle.
Continue reading
Learning notes for book iOS Animations by Tutorials.
Auto layout is a powerful tool to create app interface. Developers can pre-set the constraints for a view. How to change a certain constraint to create animation?
Continue reading
Learning notes for book iOS Animations by Tutorials.
When a view has several stages of moving animation, it is complicated to use animateWithDuration to implement the animation because it will contain nasty nesting in your code.
Continue reading
Learning notes for book iOS Animations by Tutorials.
The UIView transform property is of type CGAffineTransform, and is used to represent a two-dimensional rotation, scale, or translation. By changing it, you can rotate, scale or translate a view.
Continue reading
Learning notes for book iOS Animations by Tutorials.
First, what is the difference between transitionWithView
and animationWithDuration
?
Continue reading
Learning notes for book iOS Animations by Tutorials.
Logging page is very common in your mobile apps today. A fancy logging page will catch people’s eyes at the very beginning. Let’s do it.
Continue reading