macOS/iOS API解説

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

目次

iPhone3.0

解説 NSString *const UIKeyboardCenterBeginUserInfoKey; NSString *const UIKeyboardCenterEndUserInfoKey; NSString *const UIKeyboardBoundsUserInfoKey; NSString *const UIKeyboardAnimationDurationUserInfoKey; NSString *const UIKeyboardAnimation…

detectsPhoneNumbers

解説 使用中止、代わりにdataDetectorTypesを使います。 @property(nonatomic) BOOL detectsPhoneNumbers フレームワーク UIKit クラス UIWebView Property 使用可能 iPhone3.0 参照 例文

UIModalTransitionStyle

モーダルに画面遷移する場合のトランジション typedef enum { UIModalTransitionStyleCoverVertical = 0, UIModalTransitionStyleFlipHorizontal, UIModalTransitionStyleCrossDissolve, } UIModalTransitionStyle; ||< [asin:4794218524:detail] **解説 UIM…

willAnimateRotationToInterfaceOrientation:duration:

画面が回転しようとするときに呼び出されるデリゲートメソッド -(void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation duration:(NSTimeInterval)duration 解説 ワンステップユーザーインターフェースの回転の前…

viewDidUnload

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

setToolbarItems:animated:

ツールバーアイテムをセットします。 -(void)setToolbarItems:(NSArray *)toolbarItems animated:(BOOL)animated 解説 ツールバーアイテムをセットします。 返り値 ( void ) なし 引数 ( NSArray * )toolbarItems セットするツールバーアイテムの配列 ( BOOL…

loadView

INDEX>UIKit>UIViewController viewプロパティがnilの場合に呼び出される 解説 このメソッドを呼び出してはいけません。Storyboardを読み込む際に呼び出されます。 viewプロパティがnilの場合に呼び出されてコントローラーのビューを作ります。画面のセット…

isViewLoaded

ビューはロードされたか 解説 返り値 ( BOOL ) ロードされたかどうか 引数 フレームワーク UIKit クラス UIViewController Instance Methods 使用可能 iPhone3.0 参照 例文

-didReceiveMemoryWarning

INDEX>UIKit>UIViewController メモリが少なくなった場合に呼び出されるデリゲートメソッド - (void)didReceiveMemoryWarning 解説 iOS6から-viewWillUnloadと-viewDidUnloadをメモリ警告時に呼ばなくなりました。(非推奨に) iOS6からはメモリ警告時のビュ…

wantsFullScreenLayout

解説 @property(nonatomic,assign) BOOL wantsFullScreenLayout 返り値 引数 フレームワーク UIKit クラス UIViewController Property 使用可能 iPhone3.0 参照 例文

解説 @property (nonatomic, retain) NSArray *toolbarItems 返り値 引数 フレームワーク UIKit クラス UIViewController Instance Methods 使用可能 iPhone3.0 参照

searchDisplayController

解説 @property(nonatomic, readonly, retain) UISearchDisplayController *searchDisplayController 返り値 引数 フレームワーク UIKit クラス UIViewController Property 使用可能 iPhone3.0 参照 例文

解説 @property (nonatomic,assign) UIModalTransitionStyle modalTransitionStyle 返り値 引数 フレームワーク UIKit クラス UIViewController Instance Methods 使用可能 iPhone3.0 参照

contentStretch

コンテンツの伸縮可能エリアの指定 @property(nonatomic) CGRect contentStretch 解説 コンテンツの伸縮可能エリアの指定 フレームワーク UIKit クラス UIView Property 使用可能 iPhone3.0 参照 例文

translucent

INDEX>UIKit>UIToolbar ツールバーが半透明か、そうでないかを示すプロパティ値 @property(nonatomic,assign,getter=isTranslucent) BOOL translucent 解説 ツールバーが半透明(YES)か、そうでない(NO)かを示すブール値。 ユーザーがツールバーの下を見…

selectedRange

テキストの選択範囲 解説 @property(nonatomic) NSRange selectedRange フレームワーク UIKit クラス UITextView Property 使用可能 iPhone3.0 参照 例文

dataDetectorTypes

自動リンクするデータタイプ 解説 @property(nonatomic) UIDataDetectorTypes dataDetectorTypes 返り値 引数 フレームワーク UIKit クラス UITextView Property 使用可能 iPhone3.0 参照 例文

UITableViewCellStateMask

解説 typedef NSUInteger UITableViewCellStateMask; 返り値 引数 フレームワーク UIKit クラス UITableViewCell Instance Methods 使用可能 iPhone3.0 参照

UITableViewCellStyle

テーブルビューセルのスタイル typedef enum { UITableViewCellStyleDefault, UITableViewCellStyleValue1, UITableViewCellStyleValue2, UITableViewCellStyleSubtitle } UITableViewCellStyle; 解説 UITableViewCellStyleDefault UITableViewCellStyleValu…

willTransitionToState:

-(void)willTransitionToState:(UITableViewCellStateMask)state 解説 返り値 ( void ) 引数 ( UITableViewCellStateMask )state フレームワーク UIKit クラス UITableViewCell Instance Methods 使用可能 iPhone3.0 参照 例文

setHighlighted:animated:

-(void)setHighlighted:(BOOL)highlighted animated:(BOOL)animated 解説 返り値 ( void ) 引数 ( BOOL )highlighted ( BOOL )animated フレームワーク UIKit クラス UITableViewCell Instance Methods 使用可能 iPhone3.0 参照 例文

initWithStyle:reuseIdentifier:

テーブルビューを作って初期化します。 -(id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier 解説 返り値 ( id ) 引数 ( UITableViewCellStyle )style ( NSString * )reuseIdentifier フレームワーク UIKit クラス…

didTransitionToState:

-(void)didTransitionToState:(UITableViewCellStateMask)state 解説 返り値 ( void ) 引数 ( UITableViewCellStateMask )state フレームワーク UIKit クラス UITableViewCell Instance Methods 使用可能 iPhone3.0 参照 例文

textLabel

セルのテキストラベル @property(nonatomic, readonly, retain) UILabel *textLabel 解説 フレームワーク UIKit クラス UITableViewCell Property 使用可能 iPhone3.0 参照 例文

textColor

テーブルセルのテキストの色 解説 使いません。 テキストカラーのtextLabelとdetailTextLabelプロパティを使います。 (Deprecated. Instead set the text color attribute of the UILabel objects assigned to the textLabel and detailTextLabel properties…

textAlignment

解説 (Deprecated. Instead set the text alignment of the UILabel objects assigned to the textLabel and detailTextLabel properties.) @property(nonatomic) UITextAlignment textAlignment 返り値 引数 フレームワーク UIKit クラス UITableViewCell P…

text

解説 (Deprecated. Use the textLabel and detailTextLabel properties instead.) @property(nonatomic, copy) NSString *text 返り値 引数 フレームワーク UIKit クラス UITableViewCell Property 使用可能 iPhone3.0 参照 例文

target

解説 (Deprecated. Instead use the tableView:commitEditingStyle:forRowAtIndexPath: or tableView:accessoryButtonTappedForRowWithIndexPath: for handling taps on cells.) @property(nonatomic, assign) id target 返り値 引数 フレームワーク UIKit …

selectedTextColor

解説 (Deprecated. Instead set the selected text color attribute of the UILabel objects assigned to the textLabel and detailTextLabel properties.) @property(nonatomic, retain) UIColor *selectedTextColor 返り値 引数 フレームワーク UIKit クラ…

selectedImage

解説 (Deprecated. Instead use the imageView property to obtain the UIImageView object and then get or set its highlightedImage property.) @property(nonatomic, retain) UIImage *selectedImage 返り値 引数 フレームワーク UIKit クラス UITableVi…