macOS/iOS API解説

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

目次

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

tokenFieldCell:shouldAddObjects:atIndex:

** -(NSArray *)tokenFieldCell:(NSTokenFieldCell *)tokenFieldCell: shouldAddObjects:(NSArray *)tokens: atIndex:(unsigned)index: 解説 調査中... 返り値 ( NSArray * ) なし 引数 ( NSTokenFieldCell * )tokenFieldCell ( NSArray * )tokens ( unsigne…

tokenFieldCell:representedObjectForEditingString:

** -(id)tokenFieldCell:(NSTokenFieldCell *)tokenFieldCell: representedObjectForEditingString:(NSString *)editingString: 解説 調査中... 返り値 ( id ) オブジェクト() 引数 ( NSTokenFieldCell * )tokenFieldCell ( NSString * )editingString フ…

tokenFieldCell:readFromPasteboard:

** -(NSArray *)tokenFieldCell:(NSTokenFieldCell *)tokenFieldCell: readFromPasteboard:(NSPasteboard *)pboard: 解説 調査中... トークン不フィールドでペーストボードから読まれた時に呼び出されます。 返り値 ( NSArray * ) なし 引数 ( NSTokenFieldC…

tokenFieldCell:menuForRepresentedObject:

** -(NSMenu *)tokenFieldCell:(NSTokenFieldCell *)tokenFieldCell: menuForRepresentedObject:(id)representedObject: 解説 調査中... トークンフィールドでオブジェクトのメニューが返されます。 返り値 ( NSMenu * ) なし 引数 ( NSTokenFieldCell * )to…

tokenFieldCell:hasMenuForRepresentedObject:

** -(BOOL)tokenFieldCell:(NSTokenFieldCell *)tokenFieldCell: hasMenuForRepresentedObject:(id)representedObject: 解説 デリゲートでの実装 representedObjectがmenuを提供するかを指定する デフォルトではトークンはメニューを持たない。 返り値 ( BOO…

tokenFieldCell:editingStringForRepresentedObject:

** -(NSString *)tokenFieldCell:(NSTokenFieldCell *)tokenFieldCell: editingStringForRepresentedObject:(id)representedObject: 解説 調査中... 返り値 ( NSString * ) なし 引数 ( NSTokenFieldCell * )tokenFieldCell ( id )representedObject フレー…

tokenFieldCell:displayStringForRepresentedObject:

** -(NSString *)tokenFieldCell:(NSTokenFieldCell *)tokenFieldCell: displayStringForRepresentedObject:(id)representedObject: 解説 調査中... 返り値 ( NSString * ) なし 引数 ( NSTokenFieldCell * )tokenFieldCell ( id )representedObject フレー…

tokenFieldCell:completionsForSubstring:indexOfToken:indexOfSelectedItem:

** -(NSArray *)tokenFieldCell:(NSTokenFieldCell *)tokenFieldCell: completionsForSubstring:(NSString *)substring: indexOfToken:(int)tokenIndex: indexOfSelectedItem:(int *)selectedIndex: 解説 調査中... トークンフィールドで、入力が完了した時…

tokenField:editingStringForRepresentedObject:

** -(NSString *)tokenField:(NStokenField *)tokenField: editingStringForRepresentedObject:(id)representedObject: 解説 調査中...デリゲートメソッド 返り値 ( NSString * ) なし 引数 ( NStokenField * )tokenField ( id )representedObject フレーム…

tokenField:displayStringForRepresentedObject:

トークンとしてオブジェクトを返す時に呼び出されます -(NSString *)tokenField:(NStokenField *)tokenField: displayStringForRepresentedObject:(id)representedObject: 解説 トークンとしてオブジェクトを返す時に呼び出されます。 デリゲートメソッド 返…

textView:willChangeSelectionFromCharacterRanges:toCharacterRanges:

文字の範囲で変更があった時に呼びだされます -(NSArray *)textView:(NSTextView *)aTextView: willChangeSelectionFromCharacterRanges:(NSArray *)oldSelectedCharRanges: toCharacterRanges:(NSArray *)newSelectedCharRanges: 解説 文字の範囲で変更があ…

textView:shouldChangeTypingAttributes:toAttributes:

テキストビューで属性の変更があった時に呼び出されます -(NSDictionary *)textView:(NSTextView *)textView: shouldChangeTypingAttributes:(NSDictionary *)oldTypingAttributes: toAttributes:(NSDictionary *)newTypingAttributes: 解説 テキストビュー…

textView:shouldChangeTextInRanges:replacementStrings:

** -(BOOL)textView:(NSTextView *)textView: shouldChangeTextInRanges:(NSArray *)affectedRanges: replacementStrings:(NSArray *)replacementStrings: 解説 調査中... テキストビューの指定した範囲で変更があったときに呼び出されます。 返り値 ( BOOL …

tableView:writeRowsWithIndexes:toPasteboard:

** -(BOOL)tableView:(NSTableView *)tv: writeRowsWithIndexes:(NSIndexSet *)rowIndexes: toPasteboard:(NSPasteboard*)pboard: 解説 ドラッグドロップ用のデリゲート NOを返すとドラッグを拒否 返り値 ( BOOL ) YES/NO 引数 ( NSTableView * )tv ( NSInde…

tableView:toolTipForCell:rect:tableColumn:row:mouseLocation:

aTableViewのaTableColumnのaCellでツールチップのように表示される文字列を返します -(NSString *)tableView:(NSTableView *)aTableView: toolTipForCell:(NSCell *)aCell: rect:(NSRectPointer)rect: tableColumn:(NSTableColumn *)aTableColumn: row:(int…

tableView:namesOfPromisedFilesDroppedAtDestination:forDraggedRowsWithIndexes:

dropDestinationでドラッグされた行のindexSetで表現されるファイル名の配列を返します -(NSArray *)tableView:(NSTableView *)tv: namesOfPromisedFilesDroppedAtDestination:(NSURL *)dropDestination: forDraggedRowsWithIndexes:(NSIndexSet *)indexSet:…

tableView:heightOfRow:

** -(float)tableView:(NSTableView *)tableView: heightOfRow:(int)row: 解説 調査中... テーブルビューの列の高さを返します。 列を可変にする場合はこのメソッドをサポートします。 返り値 ( float ) なし 引数 ( NSTableView * )tableView ( int )row フ…

outlineView:toolTipForCell:rect:tableColumn:item:mouseLocation:

** -(NSString *)outlineView:(NSOutlineView *)ov: toolTipForCell:(NSCell *)cell: rect:(NSRectPointer)rect: tableColumn:(NSTableColumn *)tc: item:(id)item: mouseLocation:(NSPoint)mouseLocation: 解説 調査中... 返り値 ( NSString * ) なし 引数 …