macOS/iOS API解説

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

目次

0-04-05から1日間の記事一覧

initWithTextAlignment:location:options:

** -(id)initWithTextAlignment:(NSTextAlignment )alignment: location:(float)loc : options:(NSDictionary *)options : 解説 テキストタブを初期化します。 返り値 ( id ) 配列 引数 ( NSTextAlignment )alignment ( float )loc ( NSDictionary * )option…

setWords:

** -(void)setWords:(NSArray *)words: 解説 単語をセットします。 返り値 ( void ) なし 引数 ( NSArray * )words フレームワーク ApplicationKit クラス NSTextStorage Instance Methods 使用可能 10.0 参照 例文

words

語の配列を返します 解説 語の配列を返します。 返り値 ( NSArray * ) 配列 引数 フレームワーク ApplicationKit クラス NSTextStorage Instance Methods 使用可能 10.0 参照 例文 NSLog([[[textStorage words] lastObject ] description]);

setParagraphs:

** -(void)setParagraphs:(NSArray *)paragraphs: 解説 段落をセットします。 返り値 ( void ) なし 引数 ( NSArray * )paragraphs フレームワーク ApplicationKit クラス NSTextStorage Instance Methods 使用可能 10.0 参照 例文

paragraphs

段落を配列で返します 解説 段落を配列で返します。 返り値 ( NSArray * ) 配列 引数 フレームワーク ApplicationKit クラス NSTextStorage Instance Methods 使用可能 10.0 参照 例文 NSLog([[[textStorage paragraphs] lastObject ] description]);

setForegroundColor:

描画色をセットします -(void)setForegroundColor:(NSColor *)color: 解説 描画色をセットします。 返り値 ( void ) なし 引数 ( NSColor * )color フレームワーク ApplicationKit クラス NSTextStorage Instance Methods 使用可能 10.0 参照 例文 [textStor…

foregroundColor

描画色を返します 解説 描画色を返します。 返り値 ( NSColor * ) 配列 引数 フレームワーク ApplicationKit クラス NSTextStorage Instance Methods 使用可能 10.0 参照 例文 NSLog([[textStorage foregroundColor] description]);

setFont:

フォントをセットします -(void)setFont:(NSFont *)font: 解説 フォントをセットします。 返り値 ( void ) なし 引数 ( NSFont * )font フレームワーク ApplicationKit クラス NSTextStorage Instance Methods 使用可能 10.0 参照 例文 [textStorage setFont…

font

フォントを返します 解説 フォントを返します。 返り値 ( NSFont * ) 配列 引数 フレームワーク ApplicationKit クラス NSTextStorage Instance Methods 使用可能 10.0 参照 例文 NSLog([[textStorage font] description]);

setCharacters:

** -(void)setCharacters:(NSArray *)characters: 解説 文字列をセットします。 返り値 ( void ) なし 引数 ( NSArray * )characters フレームワーク ApplicationKit クラス NSTextStorage Instance Methods 使用可能 10.0 参照 例文

characters

文字を配列で返します 解説 文字を配列で返します。 返り値 ( NSArray * ) 配列 引数 フレームワーク ApplicationKit クラス NSTextStorage Instance Methods 使用可能 10.0 参照 例文 NSLog([[textStorage characters] description]);

setAttributeRuns:

** -(void)setAttributeRuns:(NSArray *)attributeRuns: 解説 属性の並びをセットします。 返り値 ( void ) なし 引数 ( NSArray * )attributeRuns フレームワーク ApplicationKit クラス NSTextStorage Instance Methods 使用可能 10.0 参照 例文

attributeRuns

属性のまとまりを返します 解説 属性のまとまりを返します。 NSSubTextStorageの配列で返されます。 返り値 ( NSArray * ) 配列 引数 フレームワーク ApplicationKit クラス NSTextStorage Instance Methods 使用可能 10.0 参照 例文 NSLog([[textStorage at…

placeholderAttributedString

属性付きプレースフォルダテキストを返します 解説 属性付きプレースフォルダテキストを返します。 返り値 ( NSAttributedString * ) 引数 フレームワーク ApplicationKit クラス NSTextFieldCell Instance Methods 使用可能 10.3 参照 -setPlaceholderAttri…

setPlaceholderAttributedString:

属性付きプレースフォルダテキストをセットします -(void)setPlaceholderAttributedString:(NSAttributedString *)string: 解説 属性付きプレースフォルダテキストをセットします。 返り値 ( void ) なし 引数 ( NSAttributedString * )string フレームワー…

placeholderString

プレースフォルダ文字列を返します 解説 プレースフォルダ文字列を返します。 返り値 ( NSString * ) 文字列 引数 フレームワーク ApplicationKit クラス NSTextFieldCell Instance Methods 使用可能 10.3 参照 -setPlaceholderString: -placeholderAttribut…

setPlaceholderString:

プレースフォルダ文字列をセットする -(void)setPlaceholderString:(NSString *)string: 解説 プレースフォルダ文字列をセットする。 返り値 ( void ) なし 引数 ( NSString * )string フレームワーク ApplicationKit クラス NSTextFieldCell Instance Metho…

sortDescriptors

テーブルビューのソートデスクリプタを返します 解説 テーブルビューのソートデスクリプタを返します。 返り値 ( NSArray * ) 配列 引数 フレームワーク ApplicationKit クラス NSTableView Instance Methods 使用可能 10.3 参照 -setSortDescriptors: 例文 …

setSortDescriptors:

テーブルビューにソートデスクリプタをセットします -(void)setSortDescriptors:(NSArray *)array: 解説 テーブルビューにソートデスクリプタをセットします。 返り値 ( void ) なし 引数 ( NSArray * )array フレームワーク ApplicationKit クラス NSTableV…

drawBackgroundInClipRect:

指定した範囲のバックグラウンドを描画します -(void)drawBackgroundInClipRect:(NSRect )clipRect : 解説 指定した範囲のバックグラウンドを描画します。 返り値 ( void ) なし 引数 ( NSRect )clipRect フレームワーク ApplicationKit クラス NSTableView …