Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Commit c711129

Browse files
authored
s/NSDictionary/NSBundle/ (#1418)
1 parent a56f6c5 commit c711129

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Source/common/SNTFileInfo.m

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -423,9 +423,8 @@ - (NSDictionary *)infoPlist {
423423
return self.infoDict;
424424
}
425425

426-
// `-[NSDictionary infoDictionary]` is heavily cached, changes to the Info.plist are not
427-
// realized. Use `CFBundleCopyInfoDictionaryInDirectory` instead, which does not appear to
428-
// cache.
426+
// `-[NSBundle infoDictionary]` is heavily cached, changes to the Info.plist are not realized.
427+
// Use `CFBundleCopyInfoDictionaryInDirectory` instead, which does not appear to cache.
429428
NSString *bundlePath = [self bundlePath];
430429
if (bundlePath.length) {
431430
d = CFBridgingRelease(CFBundleCopyInfoDictionaryInDirectory(

0 commit comments

Comments
 (0)