mainBundle
メインバンドルを返します
解説
メインバンドルを返します。
なければ、NSBundleを作って、初期化して返します。
返り値
( NSBundle * )
バンドル
引数
フレームワーク
Foundation
クラス
NSBundle
Class Methods
使用可能
10.0
IOS2.0
参照
+ bundleForClass:
+ bundleWithPath:
例文
[NSBundle mainBundle] // NSString *filePath = [[NSBundle mainBundle] pathForResource:@"QtFile" ofType:@"mov"];