mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-30 02:12:03 +00:00
CPBundle -resourcePath
This commit is contained in:
1 parent
f8ee950339
commit
010fe01265
1 file changed
+5
@@ -58,6 +58,11 @@ import "CPDictionary.j"
|
||||
return [path stringByDeletingLastPathComponent];
|
||||
}
|
||||
|
||||
- (CPString)resourcePath
|
||||
{
|
||||
return [self bundlePath] + "Resources/";
|
||||
}
|
||||
|
||||
- (Class)principalClass
|
||||
{
|
||||
var className = [[self infoDictionary] objectForKey:@"CPPrincipalClass"];
|
||||
|
||||
Reference in new issue
Block a user