-
Notifications
You must be signed in to change notification settings - Fork 41
/
NSBundle+SSYMotherApp.h
35 lines (27 loc) · 1.15 KB
/
NSBundle+SSYMotherApp.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#import <Foundation/Foundation.h>
@interface NSBundle (SSYMotherApp)
/*!
@brief Returns the string value of key "SSYMotherAppName" in the info
dictionary of the current application's main bundle
@details If the key "SSYMotherAppName" does not exist, returns nil.
*/
- (NSString*)motherAppName ;
/*!
@brief Returns a bundle identifier obtained by replacing the last
"dot" component in the receiver's bundle identifier with the string value of
the key "SSYMotherAppName" in the info dictionary of the current application's
main bundle
@details If the key "SSYMotherAppName" does not exist, returns nil.
*/
- (NSString*)motherAppBundleIdentifier ;
/*!
@brief Returns the full path to a (possibly nonexistent) folder in the
current user's Application Support directory whose name is the string value
of key "SSYMotherAppName" in the info dictionary of the current application's
main bundle
@details If the key "SSYMotherAppName" does not exist, uses instead the value
of "CFBundleName", and if that does not exist, simply returns the path to the
user's Application Support directory.
*/
- (NSString*)applicationSupportPathForMotherApp ;
@end