macOS/iOS API解説

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

目次

UIView

didMoveToSuperview

スーパービューが変更されたときに呼び出されるデリゲートメソッド 解説 このビューが他のビューのサブビューとなったときに呼び出されるデリゲートメソッド 返り値 ( void ) なし 引数 定義 UIView.h フレームワーク UIKit クラス UIView Instance Methods …

didAddSubview:

サブビューが追加された時に呼ばれるデリゲートメソッド -(void)didAddSubview:(UIView *)subview 解説 返り値 ( void ) 引数 ( UIView * )subview 子要素が追加されたビュー フレームワーク UIKit クラス UIView Instance Methods 使用可能 iPhone2.0 参照 …

convertRect:toView:

適用するビューの矩形を引数のビューの座標に変換します。 -(CGRect)convertRect:(CGRect)rect toView:(UIView *)view 解説 返り値 ( CGRect ) 引数 ( CGRect )rect ( UIView * )view フレームワーク UIKit クラス UIView Instance Methods 使用可能 iPhone2…

convertRect:fromView:

引数のビューの矩形を適用するビューの座標に変換します。 -(CGRect)convertRect:(CGRect)rect fromView:(UIView *)view 解説 返り値 ( CGRect ) 引数 ( CGRect )rect ( UIView * )view フレームワーク UIKit クラス UIView Instance Methods 使用可能 iPhon…

convertPoint:toView:

適用するビューの座標を引数のビュー座標に変換します。 -(CGPoint)convertPoint:(CGPoint)point toView:(UIView *)view 解説 返り値 ( CGPoint ) 引数 ( CGPoint )point ( UIView * )view フレームワーク UIKit クラス UIView Instance Methods 使用可能 iP…

convertPoint:fromView:

-(CGPoint)convertPoint:(CGPoint)point fromView:(UIView *)view 解説 返り値 ( CGPoint ) 引数 ( CGPoint )point ( UIView * )view フレームワーク UIKit クラス UIView Instance Methods 使用可能 iPhone2.0 参照 例文

bringSubviewToFront:

指定したサブビューを一番前に持ってきます。 -(void)bringSubviewToFront:(UIView *)view 解説 返り値 ( void ) 引数 ( UIView * )view フレームワーク UIKit クラス UIView Instance Methods 使用可能 iPhone2.0 参照 例文

addSubview:

サブビューを追加します。 -(void)addSubview:(UIView *)view 解説 サブビューを追加します。 返り値 ( void ) 引数 ( UIView * )view フレームワーク UIKit クラス UIView Instance Methods 使用可能 iPhone2.0 参照 例文

setAnimationWillStartSelector:

アニメーションが開始 +(void)setAnimationWillStartSelector:(SEL)selector 解説 返り値 ( void ) 引数 ( SEL )selector フレームワーク UIKit クラス UIView Instance Methods 使用可能 iPhone2.0 参照 例文

setAnimationTransition:forView:cache:

トランジションアニメーションを定義します。 +(void)setAnimationTransition:(UIViewAnimationTransition)transition forView:(UIView *)view cache:(BOOL)cache 解説 返り値 ( void ) 引数 ( UIViewAnimationTransition )transition UIViewAnimationTransi…

setAnimationStartDate:

+(void)setAnimationStartDate:(NSDate *)startTime 解説 返り値 ( void ) 引数 ( NSDate * )startTime フレームワーク UIKit クラス UIView Instance Methods 使用可能 iPhone2.0 参照 例文

setAnimationsEnabled:

+(void)setAnimationsEnabled:(BOOL)enabled 解説 返り値 ( void ) 引数 ( BOOL )enabled フレームワーク UIKit クラス UIView Instance Methods 使用可能 iPhone2.0 参照 例文

setAnimationRepeatCount:

アニメーションが繰り返す回数を指定します。 +(void)setAnimationRepeatCount:(float)repeatCount 解説 返り値 ( void ) 引数 ( float )repeatCount フレームワーク UIKit クラス UIView Instance Methods 使用可能 iPhone2.0 参照 例文

setAnimationRepeatAutoreverses:

アニメーションを往復再生します。 +(void)setAnimationRepeatAutoreverses:(BOOL)repeatAutoreverses 解説 アニメーションを往復再生します。 返り値 ( void ) 引数 ( BOOL )repeatAutoreverses フレームワーク UIKit クラス UIView Instance Methods 使用…

setAnimationDuration:

+(void)setAnimationDuration:(NSTimeInterval)duration 解説 返り値 ( void ) 引数 ( NSTimeInterval )duration フレームワーク UIKit クラス UIView Instance Methods 使用可能 iPhone2.0 参照 例文

setAnimationDidStopSelector:

アニメーションが完了したときに通知を受けるセレクタをセットします。 +(void)setAnimationDidStopSelector:(SEL)selector 解説 返り値 ( void ) 引数 ( SEL )selector フレームワーク UIKit クラス UIView Instance Methods 使用可能 iPhone2.0 参照 例文

setAnimationDelegate:

アニメーションの状態の通知を受けるデリゲートをセットします。 +(void)setAnimationDelegate:(id)delegate 解説 返り値 ( void ) 引数 ( id )delegate フレームワーク UIKit クラス UIView Instance Methods 使用可能 iPhone2.0 参照 例文

setAnimationDelay:

アニメーションの開始時間の遅延 +(void)setAnimationDelay:(NSTimeInterval)delay 解説 返り値 ( void ) 引数 ( NSTimeInterval )delay フレームワーク UIKit クラス UIView Instance Methods 使用可能 iPhone2.0 参照 例文

setAnimationCurve:

アニメーションカーブをセットします。 +(void)setAnimationCurve:(UIViewAnimationCurve)curve 解説 返り値 ( void ) 引数 ( UIViewAnimationCurve )curve UIViewAnimationCurve フレームワーク UIKit クラス UIView Instance Methods 使用可能 iPhone2.0 …

setAnimationBeginsFromCurrentState:

+(void)setAnimationBeginsFromCurrentState:(BOOL)fromCurrentState 解説 返り値 ( void ) 引数 ( BOOL )fromCurrentState フレームワーク UIKit クラス UIView Instance Methods 使用可能 iPhone2.0 参照 例文

layerClass

解説 返り値 ( Class ) 引数 フレームワーク UIKit クラス UIView Instance Methods 使用可能 iPhone2.0 参照 例文

commitAnimations

解説 アニメーションの実行 返り値 ( void ) 引数 フレームワーク UIKit クラス UIView Instance Methods 使用可能 iPhone2.0 参照 例文 -(IBAction)buttonAction:(id)sender{ //ラベルを透明にするアニメーション [UIView beginAnimations:@"MyAnimation" c…

beginAnimations:context:

アニメーションブロックの設定をします。 +(void)beginAnimations:(NSString *)animationID context:(void *)context 解説 commitAnimationsでアニメーションを実行します。 返り値 ( void ) なし 引数 ( NSString * )animationID アニメーションID ( void *…

areAnimationsEnabled

解説 返り値 ( BOOL ) 引数 フレームワーク UIKit クラス UIView Instance Methods 使用可能 iPhone2.0 参照 例文

userInteractionEnabled

ユーザーのイベントを発行するかどうかのプロパティ 解説 ユーザーのイベントを発行するかどうか。 もしNOならユーザーイベントはイベントキューから取り除かれて無視されます。 デフォルトの値はYESです。 ゲッターメソッドはisUserInteractionEnabledです…

transform

ビューに設定するアフィン変換のプロパティ 解説 ビューに設定するアフィン変換のプロパティ (nonatomic) 値 CGAffineTransform 引数 フレームワーク UIKit クラス UIView Property 使用可能 iPhone2.0 参照 例文

tag

タグを表すプロパティ 解説 タグはユーザー(プログラマ)が設定できる整数値です。 (nonatomic) 値 NSInteger 引数 フレームワーク UIKit クラス UIView Property 使用可能 iPhone2.0 参照 例文

superview

このビューのスーパービューを表すプロパティ 解説 このビューのスーパービュー、なければnilを返します。 読み込みのみです。 (nonatomic, readonly) 値 UIView * フレームワーク UIKit クラス UIView Property 使用可能 iPhone2.0 参照 例文

subviews

このビューが持つサブビューの配列を表すプロパティ 解説 このビューが持つサブビューの配列を表します。 読み込みのみです (nonatomic, readonly, copy) 値 NSArray * ビューを要素に持つ配列 フレームワーク UIKit クラス UIView Property 使用可能 iPhone…

opaque

不透明化どうかを表すプロパティ 解説 不透明化どうかを表す。YESなら不透明 (nonatomic, getter=isOpaque) ゲッターメソッドはisOpaque 値 BOOL 引数 フレームワーク UIKit クラス UIView Property 使用可能 iPhone2.0 参照 例文