macOS/iOS API解説

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

目次

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

borderColorForEdge:

テキストブロックの端のボーダーカラーを返します -(NSColor *)borderColorForEdge:(NSRectEdge)edge: 解説 テキストブロックの端のボーダーカラーを返します。 返り値 ( NSColor * ) なし 引数 ( NSRectEdge )edge エッジ NSMinXEdge = 0 NSMinYEdge = 1 NS…

backgroundColor

テキストブロックの背景色を返します 解説 テキストブロックの背景色を返します。 返り値 ( NSColor * ) なし 引数 フレームワーク ApplicationKit クラス NSTextBlock Instance Methods 使用可能 10.4 参照 -setBackgroundColor: 例文

setBaseWritingDirection:

** -(void)setBaseWritingDirection:(NSWritingDirection)writingDirection: 解説 テキストを描画するときに使う最初の方向をセットします。 もし、テキストをレンダリングするときに方向がわからなければ、テキストシステムの方向を指定することができる 返…

baseWritingDirection

** 解説 テキストを実際に書く初期の方向を返します。 テキストシステムはユニコード文字の表示のために実際に書く計算のヒントとして使います。 このメソッドを直接呼び出しません。 もし、方向をセットしないならNSWritingDirectionNaturalを返します。 返…

setDraggingSourceOperationMask:forLocal:

ドラッギングソースオペレーションマスクをセットします -(void)setDraggingSourceOperationMask:(unsigned int)mask: forLocal:(BOOL)isLocal: 解説 ドラッギングソースオペレーションマスクをセットします。 返り値 ( void ) なし 引数 ( unsigned int )ma…

setColumnAutoresizingStyle:

カラム自動サイズスタイルをセットします -(void)setColumnAutoresizingStyle:(NSTableViewColumnAutoresizingStyle)style: 解説 カラム自動サイズスタイルをセットします。 返り値 ( void ) なし 引数 ( NSTableViewColumnAutoresizingStyle )style フレー…

noteHeightOfRowsWithIndexesChanged:

** -(void)noteHeightOfRowsWithIndexesChanged:(NSIndexSet *)indexSet: 解説 調査中... 返り値 ( void ) なし 引数 ( NSIndexSet * )indexSet フレームワーク ApplicationKit クラス NSTableView Instance Methods 使用可能 10.4 参照 例文

dragImageForRowsWithIndexes:tableColumns:event:offset:

** -(NSImage *)dragImageForRowsWithIndexes:(NSIndexSet *)dragRows: tableColumns:(NSArray *)tableColumns: event:(NSEvent*)dragEvent: offset:(NSPointPointer)dragImageOffset: 解説 ドラッグに使う画像を計算して返します。 返り値 ( NSImage * ) な…

columnAutoresizingStyle

** 解説 調査中... カラムの自動サイズスタイルを返します。 返り値 ( NSTableViewColumnAutoresizingStyle ) なし 引数 フレームワーク ApplicationKit クラス NSTableView Instance Methods 使用可能 10.4 参照 -setColumnAutoresizingStyle: 例文

canDragRowsWithIndexes:atPoint:

** -(BOOL)canDragRowsWithIndexes:(NSIndexSet *)rowIndexes: atPoint:(NSPoint)mouseDownPoint: 解説 調査中... 返り値 ( BOOL ) YES/NO 引数 ( NSIndexSet * )rowIndexes ( NSPoint )mouseDownPoint フレームワーク ApplicationKit クラス NSTableView In…

setResizingMask:

** -(void)setResizingMask:(unsigned)resizingMask: 解説 レシーバーのリサイズマスクをresizingMaskにセットします。 resizingMaskが0なら コラムはリサイズできない。 設定可能な値はConstantsを見てください。 返り値 ( void ) なし 引数 ( unsigned )re…

resizingMask

レシーバーのリサイズマスクを返します 解説 レシーバーのリサイズマスクを返します。 リサイズマスクの詳細は、Constantsを見てください。 返り値 ( unsigned ) なし 引数 フレームワーク ApplicationKit クラス NSTableColumn Instance Methods 使用可能 1…

setDoubleAction:

レシーバがダブルクリックされるとき、レシーバのターゲットに送られるセレクタを設定します -(void)setDoubleAction:(SEL)action: 解説 レシーバがダブルクリックされるとき、レシーバのターゲットに送られるセレクタを設定します。 効果があるメソッドのた…

doubleAction

ユーザがレシーバーをダブルクリックするときレシーバーのターゲットに送られるセレクタを返します 解説 ユーザがレシーバーをダブルクリックするときレシーバーのターゲットに送られるセレクタを返します。 返り値 ( SEL ) なし 引数 フレームワーク Applic…

selectSegmentWithTag:

** -(BOOL)selectSegmentWithTag:(int)tag: 解説 調査中... 返り値 ( BOOL ) YES/NO 引数 ( int )tag フレームワーク ApplicationKit クラス NSSegmentedControl Instance Methods 使用可能 10.4 参照 -setTag:forSegment: (NSSegmentedCell) 例文

selectSegmentWithTag:

** -(BOOL)selectSegmentWithTag:(int)tag: 解説 調査中... 返り値 ( BOOL ) YES/NO 引数 ( int )tag フレームワーク ApplicationKit クラス NSSegmentedCell Instance Methods 使用可能 10.4 参照 -setTag:forSegment: 例文

setSendsSearchStringImmediately:

** -(void)setSendsSearchStringImmediately:(BOOL)flag: 解説 調査中... 返り値 ( void ) なし 引数 ( BOOL )flag フレームワーク ApplicationKit クラス NSSearchFieldCell Instance Methods 使用可能 10.4 参照 -sendsSearchStringImmediately 例文

sendsSearchStringImmediately

** 解説 調査中... 返り値 ( BOOL ) YES/NO 引数 フレームワーク ApplicationKit クラス NSSearchFieldCell Instance Methods 使用可能 10.4 参照 -setSendsSearchStringImmediately: 例文

userSpaceScaleFactor

INDEX>AppKit>NSScreen Objective-C - (CGFloat)userSpaceScaleFactor ** 解説 調査中... スクリーンの解像度を返します。 1ポイントあたりの画素数 返り値 Objective-C (CGFloat) なし 引数 フレームワーク ApplicationKit クラス NSScreen 使用可能 10.4-1…

willPresentError:

** -(NSError *)willPresentError:(NSError *)anError: 解説 調査中... エラーを起こそうとする時に呼び出されます。 返り値 ( NSError * ) なし 引数 ( NSError * )anError フレームワーク ApplicationKit クラス NSResponder Instance Methods 使用可能 10…

tabletProximity:

** -(void)tabletProximity:(NSEvent *)theEvent: 解説 調査中... タブレットが近づいた事をレシーバーに教えます。 返り値 ( void ) なし 引数 ( NSEvent * )theEvent フレームワーク ApplicationKit クラス NSResponder Instance Methods 使用可能 10.4 参…

tabletPoint:

** -(void)tabletPoint:(NSEvent *)theEvent: 解説 調査中... タブレットイベントが起こったのをレシーバーに知らせます。 返り値 ( void ) なし 引数 ( NSEvent * )theEvent フレームワーク ApplicationKit クラス NSResponder Instance Methods 使用可能 1…

presentError:modalForWindow:delegate:didPresentSelector:contextInfo:

** -(void)presentError:(NSError *)error: modalForWindow:(NSWindow *)aWindow: delegate:(id)delegate: didPresentSelector:(SEL)didPresentSelector: contextInfo:(void *)contextInfo: 解説 調査中... エラーを発声させたときに呼び出されます。 返り値…

presentError:

エラーが起こったときに使用するアプリケーションモーダルダイアログを提供します -(BOOL)presentError:(NSError *)anError: 解説 エラーが起こったときに使用するアプリケーションモーダルダイアログを提供します。 返り値 ( BOOL ) YES/NO 引数 ( NSError …

insertLineBreak:

** -(void)insertLineBreak:(id)sender: 解説 調査中... 行分割を挿入します。(NSTextViewでの実装) 返り値 ( void ) なし 引数 ( id )sender フレームワーク ApplicationKit クラス NSResponder Instance Methods 使用可能 10.4 参照 例文

insertContainerBreak:

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

windowDidChangeScreenProfile:

** -(void)windowDidChangeScreenProfile:(NSNotification *)aNotification: 解説 調査中... スクリーンプロファイルが変更された時に呼び出されます。 返り値 ( void ) なし 引数 ( NSNotification * )aNotification フレームワーク ApplicationKit クラス …

wantsPeriodicDraggingUpdates

** 解説 調査中... 返り値 ( BOOL ) YES/NO 引数 フレームワーク ApplicationKit クラス NSDraggingDestination Instance Methods 使用可能 10.4 参照 例文

tokenFieldCell:writeRepresentedObjects:toPasteboard:

** -(BOOL)tokenFieldCell:(NSTokenFieldCell *)tokenFieldCell: writeRepresentedObjects:(NSArray *)objects: toPasteboard:(NSPasteboard *)pboard: 解説 調査中... 返り値 ( BOOL ) YES/NO 引数 ( NSTokenFieldCell * )tokenFieldCell ( NSArray * )obje…

tokenFieldCell:styleForRepresentedObject:

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