macOS/iOS API解説

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

目次

NSTextView

complete:

** -(void)complete:(id)sender: 解説 調査中... 返り値 ( void ) なし 引数 ( id )sender フレームワーク ApplicationKit クラス NSTextView Instance Methods 使用可能 10.3 参照 例文

performFindPanelAction:

検索パネルの実行するアクションメソッド -(void)performFindPanelAction:(id)sender: 解説 検索パネルの実行するアクションメソッド 検索メニューを選択した時に呼び出されます。カスタム検索パネルを使用するためにオーバーライドして使えます。 返り値 ( …

usesFindPanel

検索パネルを使うかを返します 解説 検索パネルを使うかを返します。 返り値 ( BOOL ) 配列 引数 フレームワーク ApplicationKit クラス NSTextView Instance Methods 使用可能 10.3 参照 -setUsesFindPanel: 例文 #import "MyObject.h" @implementation MyO…

setUsesFindPanel:

検索パネルを使うかをセットします -(void)setUsesFindPanel:(BOOL)flag: 解説 検索パネルを使うかをセットします。 返り値 ( void ) なし 引数 ( BOOL )flag フレームワーク ApplicationKit クラス NSTextView Instance Methods 使用可能 10.3 参照 -usesFi…

smartInsertBeforeStringForString:replacingRange:

** -(NSString *)smartInsertBeforeStringForString:(NSString *)aString: replacingRange:(NSRange)charRange: 解説 直接このメソッドを呼び出さない 返り値 ( NSString * ) 配列 引数 ( NSString * )aString ( NSRange )charRange フレームワーク Applicat…

smartInsertAfterStringForString:replacingRange:

** -(NSString *)smartInsertAfterStringForString:(NSString *)aString: replacingRange:(NSRange)charRange: 解説 直接このメソッドをよびださない 返り値 ( NSString * ) 配列 引数 ( NSString * )aString ( NSRange )charRange フレームワーク Applicati…

changeAttributes:

属性を変更するアクションメソッド -(void)changeAttributes:(id)sender: 解説 属性を変更するアクションメソッド。 返り値 ( void ) なし 引数 ( id )sender フレームワーク ApplicationKit クラス NSTextView Instance Methods 使用可能 10.3 参照 例文

linkTextAttributes

リンクテキスト属性を返します 解説 リンクテキスト属性を返します。 【リンクテキスト属性】 ●NSColor = NSCalibratedRGBColorSpace 0 0 1 1; ●NSCursor = ; ●NSUnderline = 1; 返り値 ( NSDictionary * ) 配列 引数 フレームワーク ApplicationKit クラス …

setLinkTextAttributes:

リンクテキスト属性をセットします -(void)setLinkTextAttributes:(NSDictionary *)attributeDictionary: 解説 リンクテキスト属性をセットします。 【リンクテキスト属性】 ●NSColor リンクの色 ●NSCursor リンクの上でのカーソル ●NSUnderline 下線を引く…

underline:

選択文字列に下線を引きます -(void)underline:(id)sender: 解説 選択文字列に下線を引きます。 返り値 ( void ) なし 引数 ( id )sender フレームワーク ApplicationKit クラス NSTextView Instance Methods 使用可能 10.0 参照 例文 #import "MyObject.h" …

outline:

選択文字をアウトライン文字にします -(void)outline:(id)sender: 解説 選択文字をアウトライン文字にします。 返り値 ( void ) なし 引数 ( id )sender フレームワーク ApplicationKit クラス NSTextView Instance Methods 使用可能 10.3 参照 例文 #import…

defaultParagraphStyle

初期設定の段落スタイルを返します 解説 初期設定の段落スタイルを返します。 返り値 ( NSParagraphStyle * ) 配列 引数 フレームワーク ApplicationKit クラス NSTextView Instance Methods 使用可能 10.3 参照 -setDefaultParagraphStyle: 例文 [myOutlet …

setDefaultParagraphStyle:

初期設定の段落スタイルをセットします -(void)setDefaultParagraphStyle:(NSParagraphStyle *)paragraphStyle: 解説 初期設定の段落スタイルをセットします。 返り値 ( void ) なし 引数 ( NSParagraphStyle * )paragraphStyle フレームワーク ApplicationK…

toggleBaseWritingDirection:

** -(void)toggleBaseWritingDirection:(id)sender: 解説 文字の描画方向を変更します。アラビア語などに使用します。 返り値 ( void ) なし 引数 ( id )sender フレームワーク ApplicationKit クラス NSTextView Instance Methods 使用可能 10.3 参照 例文 …

changeDocumentBackgroundColor:

カラーパネルからバックグラウンドカラーを変更したときに呼び出されます -(void)changeDocumentBackgroundColor:(id)sender: 解説 カラーパネルからバックグラウンドカラーを変更したときに呼び出されます。 サブクラスで実装します。 バックグラウンドカラ…

allowsDocumentBackgroundColorChange

ドキュメントバックグラウンドカラーの色変更を適用するかを返します 解説 ドキュメントバックグラウンドカラーの色変更を適用するかを返します。 返り値 ( BOOL ) 引数 フレームワーク ApplicationKit クラス NSTextView Instance Methods 使用可能 10.3 参…

setAllowsDocumentBackgroundColorChange:

ドキュメントバックグラウンドカラーの変更を適用するかをセットします -(void)setAllowsDocumentBackgroundColorChange:(BOOL)flag: 解説 ドキュメントバックグラウンドカラーの変更を適用するかをセットします。 返り値 ( void ) なし 引数 ( BOOL )flag …

undoManagerForTextView:

調査中 -(NSUndoManager *)undoManagerForTextView:(NSTextView *)view: 解説 調査中 テキストビューのアンドゥマネージャーを返します。 返り値 ( NSUndoManager * ) アンドゥーマネージャー 引数 ( NSTextView * )view テキストビュー フレームワーク Appl…

textView:writeCell:atIndex:toPasteboard:type:

調査中 -(BOOL)textView:(NSTextView *)view: writeCell:(id <NSTextAttachmentCell>)cell: atIndex:(unsigned)charIndex: toPasteboard:(NSPasteboard *)pboard: type:(NSString *)type: 解説 調査中 テキストビューからペーストボードに書いたときに呼び出されます。 返り値 ( BO</nstextattachmentcell>…

textView:writablePasteboardTypesForCell:atIndex:

テキストビューからアタッチメントセルをペーストボードに書き込もうとしたとき(カット、コピー、ドラッグなど)に呼び出されます -(NSArray *)textView:(NSTextView *)view: writablePasteboardTypesForCell:(id <NSTextAttachmentCell>)cell: atIndex:(unsigned)charIndex: 解説</nstextattachmentcell>…

textView:willChangeSelectionFromCharacterRange:toCharacterRange:

選択範囲を変更したときに呼ばれます -(NSRange)textView:(NSTextView *)aTextView: willChangeSelectionFromCharacterRange:(NSRange)oldSelectedCharRange: toCharacterRange:(NSRange)newSelectedCharRange: 解説 選択範囲を変更したときに呼ばれます。 …

textView:shouldChangeTextInRange:replacementString:

文字が変更されたときに呼び出されます -(BOOL)textView:(NSTextView *)aTextView: shouldChangeTextInRange:(NSRange)affectedCharRange: replacementString:(NSString *)replacementString: 解説 文字が変更されたときに呼び出されます。 返り値 ( BOOL ) …

textView:draggedCell:inRect:event:atIndex:

テキストビューのアタッチメントセルをドラッグしようとしたときに呼び出されます -(void)textView:(NSTextView *)view: draggedCell:(id <NSTextAttachmentCell>)cell: inRect:(NSRect)rect: event:(NSEvent *)event: atIndex:(unsigned)charIndex: 解説 テキストビューのアタッチ</nstextattachmentcell>…

textView:draggedCell:inRect:event:

テキストビューのアタッチメントセルをドラッグしようとしたときに呼び出されます -(void)textView:(NSTextView *)aTextView: draggedCell:(id <NSTextAttachmentCell>)attachmentCell: inRect:(NSRect)aRect: event:(NSEvent *)theEvent: 解説 テキストビューのアタッチメントセル</nstextattachmentcell>…

textView:doubleClickedOnCell:inRect:atIndex:

テキストビューのアタッチメントセルをダブルクリックしたときに呼び出されます -(void)textView:(NSTextView *)textView: doubleClickedOnCell:(id <NSTextAttachmentCell>)cell: inRect:(NSRect)cellFrame: atIndex:(unsigned)charIndex: 解説 テキストビューのアタッチメントセ</nstextattachmentcell>…

textView:doubleClickedOnCell:inRect:

テキストビューのアタッチメントセルをダブルクリックしたときに呼び出されます -(void)textView:(NSTextView *)aTextView: doubleClickedOnCell:(id <NSTextAttachmentCell>)attachmentCell: inRect:(NSRect)cellFrame: 解説 テキストビューのアタッチメントセルをダブルクリック</nstextattachmentcell>…

textView:doCommandBySelector:

テキストビューのメソッドがdoCommandBySelectorで呼ばれたときに呼ばれます -(BOOL)textView:(NSTextView *)aTextView: doCommandBySelector:(SEL)aSelector: 解説 テキストビューのメソッドがdoCommandBySelectorで呼ばれたときに呼ばれます。 NOを返すと…

textViewDidChangeSelection:

選択が変更されたときに呼び出されます -(void)textViewDidChangeSelection:(NSNotification *)aNotification: タコSS出版社/メーカー: 吉徳メディア: おもちゃ&ホビー クリック: 1回この商品を含むブログを見る 解説 選択が変更されたときに呼び出されます…

textView:clickedOnLink:atIndex:

テキストビューのリンクをクリックした時に呼び出されます -(BOOL)textView:(NSTextView *)textView: clickedOnLink:(id)link: atIndex:(unsigned)charIndex: 解説 テキストビューのリンクをクリックした時に呼び出されます。 返り値 ( BOOL ) YES/NO 引数 (…

textView:clickedOnLink:

INDEX>NSTextView テキストビューのリンクをクリックした時に呼び出されます -(BOOL)textView:(NSTextView *)textView: clickedOnLink:(id)link: 東京オリンピック [DVD]出版社/メーカー: 東宝発売日: 2004/06/25メディア: DVD購入: 3人 クリック: 86回この…