macOS/iOS API解説

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

目次

0-03-09から1日間の記事一覧

registerForServices

サービスに登録します 解説 サービスに登録します。 返り値 ( void ) なし 引数 フレームワーク ApplicationKit クラス NSTextView Class Methods 使用可能 10.0 参照 例文 [NSTextView registerForServices];

tabStopType

タブストップのタイプを返します 解説 タブストップのタイプを返します。 【NSTextTabType】タブストップタイプ ● NSLeftTabStopType ● NSRightTabStopType ● NSCenterTabStopType ● NSDecimalTabStopType 返り値 ( NSTextTabType ) タブのスタイル 引数 フ…

location

タブの場所を返します 解説 タブの場所を返します。 返り値 ( float ) 場所 引数 フレームワーク ApplicationKit クラス NSTextTab Instance Methods 使用可能 10.0 参照 例文 #import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)send…

initWithType:location:

タブストップを作って返します -(id)initWithType:(NSTextTabType)type: location:(float)location: 解説 タブストップを作って返します。 【NSTextTabType】 ● NSLeftTabStopType ● NSRightTabStopType まだ機能しません ● NSCenterTabStopType まだ機能し…

textStorageWillProcessEditing:

テキストストレージを編集しようとする時に呼び出されます -(void)textStorageWillProcessEditing:(NSNotification *)aNotification: 解説 テキストストレージを編集しようとする時に呼び出されます。 返り値 ( void ) なし 引数 ( NSNotification * )aNotif…

textStorageDidProcessEditing:

テキストストレージを編集した時に呼び出されます -(void)textStorageDidProcessEditing:(NSNotification *)aNotification: 解説 テキストストレージを編集した時に呼び出されます。 返り値 ( void ) なし 引数 ( NSNotification * )aNotification 通知 フレ…

setDelegate:

デリゲートをセットします -(void)setDelegate:(id)anObject: 解説 デリゲートをセットします。 返り値 ( void ) なし 引数 ( id )anObject オブジェクト フレームワーク ApplicationKit クラス NSTextStorage Instance Methods 使用可能 10.0 参照 - delega…

removeLayoutManager:

指定したレイアウトマネージャーを取り除きます -(void)removeLayoutManager:(NSLayoutManager *)aLayoutManager: 解説 指定したレイアウトマネージャーを取り除きます。 返り値 ( void ) なし 引数 ( NSLayoutManager * )aLayoutManager レイアウトマネージ…

processEditing

使用しません 解説 編集を開始する時に自動的に呼び出されるので、呼び出す必要はありません。 返り値 ( void ) なし 引数 フレームワーク ApplicationKit クラス NSTextStorage Instance Methods 使用可能 10.0 参照 例文 //ありません

layoutManagers

テキストストレージのレイアウトマネージャーを返します 解説 テキストストレージのレイアウトマネージャー(NSLayoutManager)を返します。 返り値 ( NSArray * ) レイアウトマネージャー 引数 フレームワーク ApplicationKit クラス NSTextStorage Instance …

invalidateAttributesInRange:

指定した範囲の属性を無効にします -(void)invalidateAttributesInRange:(NSRange)range: 解説 指定した範囲の属性を無効にします。 返り値 ( void ) なし 引数 ( NSRange )range 範囲 フレームワーク ApplicationKit クラス NSTextStorage Instance Methods…

fixesAttributesLazily

属性をルーズに適用するかを返します 解説 属性をルーズに適用するかを返します。 返り値 ( BOOL ) YES/NO 引数 フレームワーク ApplicationKit クラス NSTextStorage Instance Methods 使用可能 10.0 参照 例文 //TextStorageのデリゲート - (void)textStor…

ensureAttributesAreFixedInRange:

指定した範囲の属性が決定されているのを確認します -(void)ensureAttributesAreFixedInRange:(NSRange)range: 解説 指定した範囲の属性が決定されているのを確認します。 返り値 ( void ) なし 引数 ( NSRange )range 範囲 フレームワーク ApplicationKit …

editedRange

編集範囲を返します 解説 編集範囲を返します。 返り値 ( NSRange ) 範囲 引数 フレームワーク ApplicationKit クラス NSTextStorage Instance Methods 使用可能 10.0 参照 - changeInLength - editedMask 例文 //TextStorageのデリゲート - (void)textStora…

editedMask

編集マスクを返します 解説 編集マスクを返します。 ● NSTextStorageEditedAttributes 属性を編集している ● NSTextStorageEditedCharacters 文字を編集している 返り値 ( unsigned int ) 整数値 引数 フレームワーク ApplicationKit クラス NSTextStorage I…

edited:range:changeInLength:

調査中 -(void)edited:(unsigned)mask: range:(NSRange)oldRange: changeInLength:(int)lengthChange: 解説 調査中 編集された時に呼び出されます。オーバーライドできます。 【mask】 ● NSTextStorageEditedAttributes 属性の変更、移動、追加 ● NSTextStor…

delegate

デリゲートを返します 解説 デリゲートを返します。 返り値 ( id ) デリゲートオブジェクト 引数 フレームワーク ApplicationKit クラス NSTextStorage Instance Methods 使用可能 10.0 参照 - setDelegate: 例文 - (IBAction)myAction:(id)sender { NSTextS…

changeInLength

編集前の長さと編集後の長さの差を返します 解説 編集前の長さと編集後の長さの差を返します。 2文字追加されれば「2」が返されます。3文字削除されれば「-3」が返されます。 返り値 ( int ) 整数値 引数 フレームワーク ApplicationKit クラス NSTextStorag…

addLayoutManager:

テキストストレージにレイアウトマネージャーを追加します -(void)addLayoutManager:(NSLayoutManager *)aLayoutManager: 解説 テキストストレージにレイアウトマネージャーを追加します。 返り値 ( void ) なし 引数 ( NSLayoutManager * )aLayoutManager …

textColor

テキストフィールドセルの文字色を返します 解説 テキストフィールドセルの文字色を返します。 返り値 ( NSColor * ) 描画色 引数 フレームワーク ApplicationKit クラス NSTextFieldCell Instance Methods 使用可能 10.0 参照 - backgroundColor - textColo…