– (id)initWithFrame:(CGRect)aRect- 指定されたフレームの矩形(aRect)で、新しく割り当てられたビューオブジェクトを初期化する。
属性の設定し取得するuserInteractionEnabledproperty境界と矩形フレームを変更するframepropertyboundspropertycenterpropertytransformpropertyビュー階層を管理するsuperviewpropertysubviewspropertywindowproperty– (void)addSubview:(UIView*)viewこのメソッドは、レシーバのサブビューとして他のサブビューの最上階層に設定する。レシーバはviewを保持する。そのため、view をビュー階層から削除するにはremoveFromSuperviewでview をリリースする。ビューの交換等のため保持したい場合はそれより前にビューを保持する必要がある。– bringSubviewToFront:– sendSubviewToBack:– removeFromSuperview:– insertSubview:atIndex:– insertSubview:aboveSubview:– insertSubview:belowSubview:– exchangeSubviewAtIndex:withSubviewAtIndex:– isDescendantOfView:座標を変換する– convertPoint:toView:– convertPoint:fromView:– convertRect:toView:– convertRect:fromView:サブビューの大きさを変更するautoresizesSubviewspropertyautoresizingMaskproperty– sizeThatFits:– sizeToFitcontentModepropertycontentStretchpropertyビューの検索NSInteger tagpropertyレシーバのタグであり、アプリケーションからビューオブジェクトを識別する場合にしようする。– (UIView *)viewWithTag:(NSInteger)tagタグで識別されるビューを返す。ビューをレイアウトする– setNeedsLayout– layoutIfNeeded– layoutSubviews表示(非表示)するclipsToBoundspropertybackgroundColorpropertyalphapropertyopaquepropertyclearsContextBeforeDrawingproperty– drawRect:– setNeedsDisplay– setNeedsDisplayInRect:+ layerClasslayerpropertyhiddenpropertyビューをアニメーション表示する+ beginAnimations:animatedID context:contextanimationIDアプリケーション側で設定するブロック内の識別子。setAnimationWillStartSelector:やsetAnimationDidStopSelector:メソッドでアニメーションの依頼メッセージを受け渡す場合に使用する。そうでない場合はnillcontextアプリケーション側で設定する情報。同上。+ commitAnimations+ setAnimationStartDate:+ setAnimationsEnabled:+ setAnimationDelegate:+ setAnimationWillStartSelector:+ setAnimationDidStopSelector:+ setAnimationDuration:アニメーションブロック内でアニメーションを変化させる継続時間(秒)を設定する。+ setAnimationDelay:+ setAnimationCurve:- UIViewAnimationCurveEaseInOut ゆっくり始まり中央で加速しゆっくり終る
- UIViewAnimationCurveEaseIn ゆっくり始まり途中で加速する
- UIViewAnimationCurveEaseOut 速くはじまりゆっくり終る
- UIViewAnimationCurveLinear 同じ速度でアニメーションする
+ setAnimationRepeatCount:+ setAnimationRepeatAutoreverses:+ setAnimationBeginsFromCurrentState:+ setAnimationTransition:forView:cache:
UIViewAnimationTransitionNone 推移しない
UIViewAnimationTransitionFlipFromLeft 垂直軸で左が上に、右が下に推移する
UIViewAnimationTransitionFlipFromRight 垂直軸で右が上に、左が下に推移する
UIViewAnimationTransitionCurlUp 上から下に巻く様に推移する
UIViewAnimationTransitionCurlDown 下から上に巻く様に推移する
+ areAnimationsEnabledイベントを管理する– hitTest:withEvent:– pointInside:withEvent:multipleTouchEnabledpropertyexclusiveTouchproperty– endEditing:ジェスチャーマネージャ(recognizer)を管理する– addGestureRecognizer:– removeGestureRecognizer:gestureRecognizersproperty変更を参照する– didAddSubview:– didMoveToSuperview– didMoveToWindow– willMoveToSuperview:– willMoveToWindow:– willRemoveSubview:
2010年5月2日日曜日
UIViewクラス(ビュー基底クラス)
インスタンスを生成する
登録:
コメントの投稿 (Atom)
0 件のコメント:
コメントを投稿