NSAnimationContextクラス
INDEX>AppKit>NSAnimationContext
アニメーションコンテキスト
継承 | NSObject |
準拠 | NSObject (NSObject) |
フレームワーク | /System/Library/Frameworks/SpriteKit.framework |
使用可能 | OS X 10.5以降 |
定義 | @import AppKit; |
メソッドとプロパティ
トランザクションのグループ化
beginGrouping
10.5- アニメーショングループを開始します
endGrouping
10.5- アニメーショングループを終了します
現在のアニメーションコンテキストの取得
アニメーション完了時の取り扱い
completionHandler
10.7-アニメーションが終了した場合に実行されるクロージャ
runAnimationGroup:completionHandler:
10.7 アニメーションブロックとして実行します。
アニメーション継続時間の修正
duration
10.5-継続時間
timingFunction
10.5- タイミング関数
アニメーション化するか
allowsImplicitAnimation
10.8- 他のプロパティを暗黙のうちにアニメーション化するか
参照
関連記事(外部サイト)
cocoa - Slow down or pause NSAnimationContext - Stack Overflow
OS X Development - The development blog of Jonathan Willing, iOS and OS X developer.
更新時のバージョン
OS X 10.10.3
Swift1.2