macOS/iOS API解説

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

目次

NSForm

setTitleBaseWritingDirection:

** -(void)setTitleBaseWritingDirection:(NSWritingDirection)writingDirection: 解説 調査中...フォームに埋め込まれたすべてのコントロールのタイトルの描画方向をセットします。 返り値 ( void ) なし 引数 ( NSWritingDirection )writingDirection フレ…

setTextBaseWritingDirection:

** -(void)setTextBaseWritingDirection:(NSWritingDirection)writingDirection: 解説 調査中... テキストの描画方向をセットします。 返り値 ( void ) なし 引数 ( NSWritingDirection )writingDirection フレームワーク ApplicationKit クラス NSForm Inst…

setFrameSize:

フォームオブジェクトのサイズをセットします -(void)setFrameSize:(NSSize)size: 解説 フォームオブジェクトのサイズをセットします。 返り値 ( void ) なし 引数 ( NSSize )size フレームワーク ApplicationKit クラス NSForm Instance Methods 使用可能 1…

setTitleFont:

タイトルフォントをセットします -(void)setTitleFont:(NSFont *)font: 解説 タイトルフォントをセットします 返り値 ( void ) なし 引数 ( NSFont * )font フォント フレームワーク ApplicationKit クラス NSForm Instance Methods 使用可能 10.0 参照 - se…

setTitleAlignment:

全てのタイトルの配置をセットします -(void)setTitleAlignment:(NSTextAlignment)alignment: 解説 全てのタイトルの配置をセットします。 【alignment】 ● NSRightTextAlignment ● NSCenterTextAlignment ● NSLeftTextAlignment デフォルト 返り値 ( void )…

setTextFont:

テキストフィールドのフォントをセットします -(void)setTextFont:(NSFont *)font: 解説 テキストフィールドのフォントをセットします 返り値 ( void ) なし 引数 ( NSFont * )font フォント フレームワーク ApplicationKit クラス NSForm Instance Methods …

setTextAlignment:

テキスト配置をセットします -(void)setTextAlignment:(int)alignment: 解説 テキスト配置をセットします。 【alignment】 ● NSRightTextAlignment ● NSCenterTextAlignment ● NSLeftTextAlignment デフォルト 返り値 ( void ) なし 引数 ( int )alignment …

setInterlineSpacing:

行間スペースをセットします -(void)setInterlineSpacing:(float)spacing: 解説 行間スペースをセットします 返り値 ( void ) なし 引数 ( float )spacing 行間 フレームワーク ApplicationKit クラス NSForm Instance Methods 使用可能 10.0 参照 例文 #imp…

setEntryWidth:

幅をセットします -(void)setEntryWidth:(float)width: 解説 幅をセットします 幅はタイトルとテキストフィールドを含みます 返り値 ( void ) なし 引数 ( float )width フレームワーク ApplicationKit クラス NSForm Instance Methods 使用可能 10.0 参照 …

setBordered:

枠を表示するかをセットします -(void)setBordered:(BOOL)flag: 解説 枠を表示するかをセットします YESなら枠を表示する NOなら枠を表示しない 返り値 ( void ) なし 引数 ( BOOL )flag YES/NO フレームワーク ApplicationKit クラス NSForm Instance Metho…

setBezeled:

ベゼルをセットします -(void)setBezeled:(BOOL)flag: 解説 ベゼルをセットします YESならベゼルあり NOならベゼル無し 返り値 ( void ) なし 引数 ( BOOL )flag YES/NO フレームワーク ApplicationKit クラス NSForm Instance Methods 使用可能 10.0 参照 -…

selectTextAtIndex:

番号でセルを選択します -(void)selectTextAtIndex:(int)entryIndex: 解説 番号でセルを選択します。 返り値 ( void ) なし 引数 ( int )entryIndex フレームワーク ApplicationKit クラス NSForm Instance Methods 使用可能 10.0 参照 例文 #import "MyObje…

removeEntryAtIndex:

指定位置のセルを削除します -(void)removeEntryAtIndex:(int)entryIndex: 解説 指定位置(entryIndex)のセルを削除します。 返り値 ( void ) なし 引数 ( int )entryIndex 削除する番号 フレームワーク ApplicationKit クラス NSForm Instance Methods 使用…

insertEntry:atIndex:

指定位置に新しいセルを加えてタイトルを追加して、そのセルを返します -(NSFormCell *)insertEntry:(NSString *)title: atIndex:(int)entryIndex: 解説 指定位置(index)に新しいセルを加えてタイトル(title)を追加して、そのセルを返します。 返り値 ( NSFo…

indexOfSelectedItem

選択中のセルのインデックスを返します 解説 選択中のセルのインデックスを返します。 選されていなければ、-1を返します。 返り値 ( int ) 整数値 引数 フレームワーク ApplicationKit クラス NSForm Instance Methods 使用可能 10.0 参照 例文 #import "My…

indexOfCellWithTag:

指定したタグのフォームのインデックスを返します -(int)indexOfCellWithTag:(int)tag: 解説 指定したタグ(tag)のフォームのインデックスを返します。 返り値 ( int ) 整数値 引数 ( int )tag タグ フレームワーク ApplicationKit クラス NSForm Instance Me…

drawCellAtIndex:

指定した番号のセルを描画します -(void)drawCellAtIndex:(int)entryIndex: 解説 指定した番号のセルを描画します。 必要なときに自動的に呼び出されるので呼び出す必要はありません。 返り値 ( void ) なし 引数 ( int )entryIndex フレームワーク Applicat…

cellAtIndex:

指定した番号のセルを返します -(id)cellAtIndex:(int)entryIndex: 解説 指定した番号のセルを返します 返り値 ( id ) セル 引数 ( int )entryIndex 番号 フレームワーク ApplicationKit クラス NSForm Instance Methods 使用可能 10.0 参照 - indexOfCellWi…

addEntry:

末尾に新しいセルを加えてタイトルを追加します -(NSFormCell *)addEntry:(NSString *)title: 解説 末尾に新しいセルを加えてタイトル(title)を追加します。 返り値 ( NSFormCell * ) 追加したフォームセル 引数 ( NSString * )title 追加するタイトル フレ…