* Source/NSBundle.m ([NSBundle -bundleIdentifier]): New.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16283 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fedor 2003-03-28 03:46:31 +00:00
parent cd3075c8da
commit 0293df79c7
3 changed files with 13 additions and 0 deletions

View file

@ -1595,6 +1595,11 @@ _bundle_load_callback(Class theClass, struct objc_category *theCategory)
return _infoDict;
}
- (NSString *)bundleIdentifier
{
return [[self infoDictionary] objectForKey:@"CFBundleIdentifier"];
}
- (unsigned)bundleVersion
{
return _version;