macOS/iOS API解説

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

目次

10.5

preferredFilenameExtensionForType:

INDEX>AppKit>NSWorkspace UTIに基づいた優先の拡張子を返します Objective-C - (NSString *)preferredFilenameExtensionForType:(NSString *)typeName Swift func preferredFilenameExtensionForType(_ typeName: String) -> String? 解説 UTIに基づいた優…

preferredBackingLocation

INDEX>AppKit> NSWindow ウインドウのバッキングストアの優先位置 Objective-C @property NSWindowBackingLocation preferredBackingLocation Swift var preferredBackingLocation: NSWindowBackingLocation 解説 ウインドウのバッキングストアの優先位置 設…

backingLocation

INDEX>AppKit> NSWindow 保持される場所 Objective-C @property(readonly) NSWindowBackingLocation backingLocation Swift var backingLocation: NSWindowBackingLocation { get } 解説 【NSWindowBackingLocation】 ●NSWindowBackingLocationDefault OSに…

sharingType

INDEX>AppKit> NSWindow ウインドウのコンテンツに他のプロセスからのアクセス権 Objective-C @property NSWindowSharingType sharingType Swift var sharingType: NSWindowSharingType 解説 ウインドウのコンテンツに他のプロセスからのアクセス権 NSWindow…

autorecalculatesContentBorderThicknessForEdge:

INDEX>AppKit> NSWindow 境界線の太さを自動計算しているか Objective-C - (BOOL)autorecalculatesContentBorderThicknessForEdge:(NSRectEdge)edge Swift func autorecalculatesContentBorderThicknessForEdge(_ edge: NSRectEdge) -> Bool 解説 ウィンドウ…

collectionBehavior

INDEX>AppKit> NSWindow ウインドウの動作を指定します Objective-C @property NSWindowCollectionBehavior collectionBehavior Swift var collectionBehavior: NSWindowCollectionBehavior 解説 ウインドウの動作を指定します。 フルスクリーンモードにする…

timingFunction

INDEX>AppKit> NSAnimationContext タイミング関数 Objective-C @property(strong) CAMediaTimingFunction *timingFunction Swift var timingFunction: CAMediaTimingFunction? 解説 アニメーションのタイミングを計算する関数 設定値 Objective-C CAMediaTi…

layout

INDEX>AppKit>NSAlert レイアウトをカスタマイズした時にレイアウトを行う

suppressionButton

「今後このメッセージを表示しない」ボタン

NSAnimationContextクラス

INDEX>AppKit>NSAnimationContext アニメーションコンテキスト 継承 NSObject 準拠 NSObject (NSObject) フレームワーク /System/Library/Frameworks/SpriteKit.framework 使用可能 OS X 10.5以降 定義 @import AppKit; NSAnimationContext Class ReferenceN…

propertyName

プロパティ名 @property BOOL pripertyName 解説 フレームワーク XxxxXxxx クラス Xxxxxxxxxx 使用可能 00.00以降 iOS0.0以降 参照

NSAtomicStoreCacheNode

クラスの説明 解説 Core Data atomic ストアで具象クラスを表現する基本クラスです 継承 NSObject 準拠 NSObject (NSObject) フレームワーク /System/Library/Frameworks/CoreData.framework 使用可能 Mac OS X v10.0 以降 定義 NSAtomicStoreCacheNode.h 概…

hitTestForEvent:inRect:ofView:

レシーバーのヒットテスト情報を返します -(NSUInteger)hitTestForEvent:(NSEvent *)event: inRect:(NSRect)cellFrame: ofView:(NSView *)controlView: 解説 レシーバーのヒットテスト情報を返します。 返り値 ( NSUInteger ) 【Hit testing】 ●NSCellHitNon…

integerValue

レシーバーのNSInteger値を返します 解説 レシーバーのNSInteger値を返します。 セルの値がスキャンできない場合は0を返します。 返り値 ( NSInteger ) 整数値 引数 フレームワーク ApplicationKit クラス NSCell 使用可能 10.5 参照 -setIntegerValue: -int…

setIntegerValue:

NSIntegerを使ってレシーバーの値をセットします -(void)setIntegerValue:(NSInteger)anInteger: 解説 NSIntegerを使ってレシーバーの値をセットします。 setObjectValue:メソッドを使ってセットします。テキストタイプのセルでない場合は機能しません。 返…

enterFullScreenMode:withOptions:

レシーバーをフルスクリーンモードにセットします -(BOOL)enterFullScreenMode:(NSScreen *)screen: withOptions:(NSDictionary *)options: 解説 レシーバーをフルスクリーンモードにセットします。 返り値 ( BOOL ) フルスクリーンモードになったかYES/NO …

クラス説明のテンプレート

クラスの説明 解説 ________ 継承 NS________ 準拠 NS________ (NS_____) フレームワーク /System/Library/Frameworks/______Kit__.framework 使用可能 Mac OS X v10.0 以降 定義 _________________.h 定数ガイド _________________ _________________ 関連…

hashTableWithWeakObjects

解説 コンテンツの弱い参照保持する新しいハッシュテーブルを返します。 返り値 ( id ) 引数 フレームワーク Foundation クラス NSHashTable Class Methods 使用可能 10.5 参照 例文

addObject:

-(void)addObject:(id)object: 解説 レシーバーへ与えられたオブジェクトを追加します。 レシーバーに追加されるオブジェクト 返り値 ( void ) 引数 ( id )object フレームワーク Foundation クラス NSHashTable 使用可能 10.5 参照 例文

allObjects

解説 レシーバーのメンバーの内容を配列で返します。 返り値 ( NSArray * ) レシーバーのメンバーの内容の配列 引数 フレームワーク Foundation クラス NSHashTable 使用可能 10.5 参照 例文

anyObject

解説 レシーバーでのオブジェクトのひとつを返します。 返されるオブジェクトはレシーバーの都合で返されます。 ランダムだとは保証できない。 返り値 ( id ) レシーバーでのオブジェクトのうちのひとつ オブジェクトを含まなければnilを返します。 引数 フ…

containsObject:

-(BOOL)containsObject:(id)anObject : 解説 与えられたオブジェクトをレシーバーが含むかどうかを示すBool値を返します。 返り値 ( BOOL ) 引数 ( id )anObject フレームワーク Foundation クラス NSHashTable 使用可能 10.5 参照 例文

count

解説 レシーバーに含まれる要素の数を返します。 返り値 ( NSUInteger ) レシーバーに含まれる要素の数 引数 フレームワーク Foundation クラス NSHashTable 使用可能 10.5 参照 例文

initWithOptions:capacity:

-(id)initWithOptions:(NSHashTableOptions)options: capacity:(NSUInteger)capacity: 解説 与えられた属性で初期化されたハッシュテーブルを返します。 返り値 ( id ) 与えられた属性で初期化されたハッシュテーブル 引数 ( NSHashTableOptions )options ( …

intersectHashTable:

-(void)intersectHashTable:(NSHashTable *)other: 解説 与えられた他のハッシュテーブルの中にも、少なくともひとつの要素がレシーバーにあるかどうかを示すブール値を返します。 返り値 ( void ) 引数 ( NSHashTable * )other フレームワーク Foundation …

intersectsHashTable:

-(BOOL)intersectsHashTable:(NSHashTable *)other: 解説 与えられたハッシュテーブルがレシーバーと交差するかどうかを示すブール値を返します。 返り値 ( BOOL ) レシーバーと交差するならYESを返します。 そうでなければNOを返します。 引数 ( NSHashTabl…

isEqualToHashTable:

-(BOOL)isEqualToHashTable:(NSHashTable *)other: 解説 与えられたハッシュテーブルがレシーバーと同じかどうかを示すブール値を返します。 返り値 ( BOOL ) レシーバーの内容がotherの内容と同じならYESを返します。 そうでなければNOを返します。 引数 ( …

isSubsetOfHashTable:

-(BOOL)isSubsetOfHashTable:(NSHashTable *)other: 解説 (BOOL)isSubsetOfHashTable:(NSHashTable *)other 返り値 ( BOOL ) 引数 ( NSHashTable * )other フレームワーク Foundation クラス NSHashTable 使用可能 10.5 参照 例文

member:

-(id)member:(id)object: 解説 (id)member:(id)object 返り値 ( id ) 引数 ( id )object フレームワーク Foundation クラス NSHashTable 使用可能 10.5 参照 例文

minusHashTable:

-(void)minusHashTable:(NSHashTable *)other: 解説 (void)minusHashTable:(NSHashTable *)other 返り値 ( void ) 引数 ( NSHashTable * )other フレームワーク Foundation クラス NSHashTable 使用可能 10.5 参照 例文