CPBundle -resourcePath

This commit is contained in:
Tom Robinson committed 2008-10-20 21:26:35 -07:00
1 parent f8ee950339
commit 010fe01265
1 file changed
+5
+5
View File
@@ -58,6 +58,11 @@ import "CPDictionary.j"
return [path stringByDeletingLastPathComponent];
}
- (CPString)resourcePath
{
return [self bundlePath] + "Resources/";
}
- (Class)principalClass
{
var className = [[self infoDictionary] objectForKey:@"CPPrincipalClass"];