FoundationExtension
FoundationExtension is common Foundation/UIKit/Cocoa shortcuts and snippets collection.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
NSBundle.h
Go to the documentation of this file.
1 //
2 // NSBundle.h
3 // FoundationExtension
4 //
5 // Created by Jeong YunWon on 10. 11. 1..
6 // Copyright 2010 youknowone.org All rights reserved.
7 //
8 
15 #import <Foundation/Foundation.h>
16 
21 FOUNDATION_EXTERN NSString *NSMainBundleResourceDirectory(void);
28 FOUNDATION_EXTERN NSString *NSMainBundleResourcePathForFile(NSString *filename);
29 
34 
38 - (NSString *)pathForResourceFile:(NSString *)filename;
39 
42 - (NSString *)pathForResource:(NSString *)filename __deprecated;
44 
45 @end
FOUNDATION_EXTERN NSString * NSMainBundleResourcePathForFile(NSString *filename)
Returns file path in resource directory for main bundle.
FOUNDATION_EXTERN NSString * NSMainBundleResourceDirectory(void)
Returns directory path for main bundle.
NSBundle extensions.
Definition: NSBundle.h:33