macOS/iOS API解説

iOS , Mac アプリケーション開発のために使われる主要フレームワークの日本語情報です。2010年代に書かれた内容です。今後更新はありません。

目次

エラーメッセージ

Using two-stage rotation animation. To use the smoother single-stage animation, this application must remove two-stage method

2ステージのアニメーションを使っている、1ステージのアニメーションの方がスムーズ。
片方だけではなく両方共オーバーライドする
willAnimateSecondHalfOfRotationFromInterfaceOrientation:duration:をオーバーライドしている場合、willAnimateRotationToInterfaceOrientation:duration:は何もしていない状態になる。従って、willAnimateRotationToInterfaceOrientation:duration:だけにアニメーション動作を書いた方が1ステージのアニメーションになるので動きがスムーズになる。

- (void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration{
-(void)willAnimateSecondHalfOfRotationFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientation duration:(NSTimeInterval)duration{

iRobot Roomba 自動掃除機 ルンバ 780

iRobot Roomba 自動掃除機 ルンバ 780

incomplete implementation of class 'CLASS NAME'

'setText:' is deprecated

TableCellのsetText:は廃止になります。

synthesized property 'propertyName' must either be named the same as a compatible ivar or must explicitly name an ivar