I will talk about NSTimer in this order.
- Initial a NSTimer
- Invalidate a NSTimer
- NSTimer and runloop
I will talk about NSTimer in this order.
Here is how to create thumbnail for videos. Two steps:
Continue reading
I got this error because I mistyped the Link to link.
Continue reading
Continue after GCD Note 1.
Continue reading
Before talking about strongSelf and weakSelf, I need briefly explain retain cycle.
Continue reading
GCD is the short form of Grand Central Dispatch. To understand GCD, there are several concepts needed to be known.
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
Software Engineer in San Francisco Bay Area
iOS and NodeJS Dev