LoginSignup
2

More than 5 years have passed since last update.

CoreAnimationとUIViewのアニメーションの違い

Posted at

UIViewアニメーション

UIView自体に内包された機能を使ってアニメーションを実装します。
UIViewをそのまま操作するのでCoreAnimationに比べ自由度は低いです。
CoreAnimationのプログラミングガイドでは従来型であるビューベースの描写という言葉で表現されています。

CoreAnimation

ビューをビットマップ形式に変換し、ハードウェア側で処理することにより高速に描写することができます。
レイヤというものがビットマップの状態を管理します。

レイヤとは

レイヤは、3次元空間内に置かれた2次元の面です。
ビューと同様に、ジオメトリ、コンテンツ、視覚属性などを管理しますが、独自の「外観」
を定義するものではありません。

参考サイト

https://developer.apple.com/jp/documentation/CoreAnimation_guide.pdf
https://developer.apple.com/jp/documentation/ViewPG_iPhoneOS.pdf

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2