macOS/iOS API解説

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

目次

iOS4.0

bundleURL

INDEX>UIKit> NSBundle 解説 引数 返り値 フレームワーク Foundation クラス NSBundle 使用可能 OS X 10.6 iOS 4.0 参照 サンプル

bundleURL

INDEX>UIKit> NSBundle - (NSURL *)bundleURL 解説 引数 返り値 フレームワーク Foundation クラス NSBundle 使用可能 OS X 10.6 iOS 4.0 参照 サンプル

URLsForResourcesWithExtension:subdirectory:inBundleWithURL:

INDEX>Foundation>NSBundle 解説 引数 返り値 フレームワーク Foundation クラス NSBundle 使用可能 OS X 10.6 iOS 4.0 参照 サンプル

URLForResource:withExtension:subdirectory:inBundleWithURL:

INDEX>Foundation>NSBundle 解説 引数 返り値 フレームワーク Foundation クラス NSBundle 使用可能 OS X 10.6 iOS 4.0 参照 サンプル

URLsForResourcesWithExtension:subdirectory:localization:

INDEX>UIKit> NSBundle - (NSArray *)URLsForResourcesWithExtension:(NSString *)extensions subdirectory:(NSString *)subpath localization:(NSString *)localizationName 解説 引数 返り値 フレームワーク Foundation クラス NSBundle 使用可能 OS X 10.…

URLForResource:withExtension:subdirectory:localization:

INDEX>UIKit> NSBundle - (NSURL *)URLForResource:(NSString *)name withExtension:(NSString *)extension 解説 引数 返り値 フレームワーク Foundation クラス NSBundle 使用可能 OS X 10.6 iOS 4.0 参照 サンプル

URLsForResourcesWithExtension:subdirectory:

INDEX>UIKit> NSBundle - (NSArray *)URLsForResourcesWithExtension:(NSString *)extension subdirectory:(NSString *)subpath 解説 引数 返り値 フレームワーク Foundation クラス NSBundle 使用可能 OS X 10.6 iOS 4.0 参照 サンプル

URLForResource:withExtension:

INDEX>UIKit> NSBundle - (NSURL *)URLForResource:(NSString *)name withExtension:(NSString *)extension 解説 引数 返り値 フレームワーク Foundation クラス NSBundle 使用可能 OS X 10.6 iOS 4.0 参照 サンプル

URLForResource:withExtension:subdirectory:

INDEX>UIKit> NSBundle - (NSURL *)URLForResource:(NSString *)name withExtension:(NSString *)extension 解説 引数 返り値 フレームワーク Foundation クラス NSBundle 使用可能 OS X 10.6 iOS 4.0 参照 サンプル

initWithURL:

INDEX>UIKit> NSBundle - (id)initWithURL:(NSURL *)url 解説 引数 返り値 フレームワーク Foundation クラス NSBundle 使用可能 OS X 10.6 iOS 4.0 参照 サンプル

bundleWithURL:

INDEX>Foundation>NSBundle 解説 引数 返り値 フレームワーク Foundation クラス NSBundle 使用可能 OS X 10.6 iOS 4.0 参照 サンプル

resourcePath

リソースを含んでいるレシーババンドルのサブディレクトリのフルパス名を返します 解説 リソースを含んでいるレシーババンドルのサブディレクトリのフルパス名を返します。 返り値 ( NSString * ) フルパス 引数 フレームワーク Foundation クラス NSBundle …

enumerateAttributesInRange:options:usingBlock:

INDEX>Foundation>NSAttributedString 解説 返り値 引数 フレームワーク Foundation クラス NSAttributedString 使用可能 10.6 iOS4.0 参照 例文

enumerateAttribute:inRange:options:usingBlock:

INDEX>Foundation>NSAttributedString 解説 返り値 引数 フレームワーク Foundation クラス NSAttributedString 使用可能 10.6 iOS4.0 参照 例文

-sortedArrayWithOptions:usingComparator:

INDEX>Foundation>NSArray NSComparatorブロックでソートした配列を返します。 - (NSArray *)sortedArrayWithOptions:(NSSortOptions)opts usingComparator:(NSComparator)cmptr 解説 NSComparatorブロックでソートした配列を返します。 返り値 (NSArray *) …

-sortedArrayUsingComparator:

INDEX>Foundation>NSArray NSComparatorブロックでソートした配列を返します。 - (NSArray *)sortedArrayUsingComparator:(NSComparator)cmptr 解説 NSComparatorブロックでソートした配列を返します。 返り値 (NSArray *) 引数 (NSComparator)cmptr 比較ブ…

enumerateObjectsAtIndexes:options:usingBlock:

配列で指定した順序に与えられたブロックを使って実行する - (void)enumerateObjectsAtIndexes:(NSIndexSet *)indexSet options:(NSEnumerationOptions)opts usingBlock:(void (^)(id obj, NSUInteger idx, BOOL *stop))block 解説 配列で指定した順序に与え…

-enumerateObjectsWithOptions:usingBlock:

INDEX>Foundation>NSArray 配列で最初のオブジェクトから終わりのオブジェクトに順番にそれぞれのオブジェクトにブロックを実行します。 - (void)enumerateObjectsWithOptions:(NSEnumerationOptions)opts usingBlock:(void (^)(id obj, NSUInteger idx, BOO…

-enumerateObjectsUsingBlock:

INDEX>Foundation>NSArray 配列で最初のオブジェクトから終わりのオブジェクトに順番にそれぞれのオブジェクトにブロックを実行します。 - (void)enumerateObjectsUsingBlock:(void (^)(id obj, NSUInteger idx, BOOL *stop))block 解説 配列で最初のオブジ…

indexOfObject:inSortedRange:options:usingComparator:

INDEX>Foundation>NSArray 指定の範囲、オプションでNSComparatorブロックを使って、探したい要素の番号を返します。 - (NSUInteger)indexOfObject:(id)obj inSortedRange:(NSRange)r options:(NSBinarySearchingOptions)opts usingComparator:(NSComparator…

indexesOfObjectsAtIndexes:options:passingTest:

- (NSIndexSet *)indexesOfObjectsAtIndexes:(NSIndexSet *)indexSet options:(NSEnumerationOptions)opts passingTest:(BOOL (^)(id obj, NSUInteger idx, BOOL *stop))predicate 解説 返り値 引数 フレームワーク Foundation クラス NSArray 使用可能 iOS4…

indexesOfObjectsWithOptions:passingTest:

- (NSIndexSet *)indexesOfObjectsWithOptions:(NSEnumerationOptions)opts passingTest:(BOOL (^)(id obj, NSUInteger idx, BOOL *stop))predicate 解説 返り値 引数 フレームワーク Foundation クラス NSArray 使用可能 参照 例文

indexesOfObjectsPassingTest:

- (NSIndexSet *)indexesOfObjectsPassingTest:(BOOL (^)(id obj, NSUInteger idx, BOOL *stop))predicate 解説 【Amazon.co.jp限定】 オリオンバラエティギフト(懐かしのラムネ菓子17種類 計38個入り)出版社/メーカー: オリオン発売日: 2010/09/09メディア:…

indexOfObjectAtIndexes:options:passingTest:

解説 返り値 引数 探すオブジェクト フレームワーク Foundation クラス NSArray 使用可能 参照 例文

indexOfObjectWithOptions:passingTest:

- (NSUInteger)indexOfObjectWithOptions:(NSEnumerationOptions)opts passingTest:(BOOL (^)(id obj, NSUInteger idx, BOOL *stop))predicate 解説 返り値 引数 探すオブジェクト フレームワーク Foundation クラス NSArray 使用可能 参照 例文

-indexOfObjectPassingTest:

INDEX>Foundation>NSArray - (NSUInteger)indexOfObjectPassingTest:(BOOL (^)(id obj, NSUInteger idx, BOOL *stop))predicate 解説 返り値 (NSUInteger) 引数 探すオブジェクト フレームワーク Foundation クラス NSArray 使用可能 iOS 4.0以降 参照 例文 …

keysOfEntriesWithOptions:passingTest:

ブロックオブジェクトで適合した値に対応するキーのセットを返します。 -(NSSet *)keysOfEntriesWithOptions:(NSEnumerationOptions)opts passingTest:(BOOL (^)(id key, id obj, BOOL *stop))predicate 解説 返り値 ( NSSet * ) 引数 ( NSEnumerationOption…

keysOfEntriesPassingTest:

ブロックオブジェクトで、制限された値に対応するキーのセットを返します。 -(NSSet *)keysOfEntriesPassingTest:(BOOL (^)(id key, id obj, BOOL *stop))predicate 解説 返り値 ( NSSet * ) 引数 ( BOOL (^)(id key, id obj, BOOL *stop) )predicate フレー…

keysSortedByValueUsingComparator:

コンペレータを使ってソートしたキーの配列を返します。 -(NSArray *)keysSortedByValueUsingComparator:(NSComparator)cmptr 解説 返り値 ( NSArray * ) 引数 ( NSComparator )cmptr フレームワーク Foundation クラス NSDictionary Instance Methods 使用…

-enumerateKeysAndObjectsUsingBlock:

INDEX>Foundation> NSDictionary>-enumerateKeysAndObjectsUsingBlock: ブロック構文を使用して辞書から検索します 編集時バージョン OS X 10.8,iOS 6.1apple(mac) apple(iOS) -(void)enumerateKeysAndObjectsUsingBlock:(void (^)(id key, id obj, BOOL *st…