From ed26d681248cdd871e5ec4d42fcf54ccdf35fbe9 Mon Sep 17 00:00:00 2001 From: Tom Burgin Date: Thu, 15 Aug 2024 10:58:50 -0400 Subject: [PATCH] s/NSDictionary/NSBundle/ --- Source/common/SNTFileInfo.m | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Source/common/SNTFileInfo.m b/Source/common/SNTFileInfo.m index ae3763b9b..3bfac38e9 100644 --- a/Source/common/SNTFileInfo.m +++ b/Source/common/SNTFileInfo.m @@ -423,9 +423,8 @@ - (NSDictionary *)infoPlist { return self.infoDict; } - // `-[NSDictionary infoDictionary]` is heavily cached, changes to the Info.plist are not - // realized. Use `CFBundleCopyInfoDictionaryInDirectory` instead, which does not appear to - // cache. + // `-[NSBundle infoDictionary]` is heavily cached, changes to the Info.plist are not realized. + // Use `CFBundleCopyInfoDictionaryInDirectory` instead, which does not appear to cache. NSString *bundlePath = [self bundlePath]; if (bundlePath.length) { d = CFBridgingRelease(CFBundleCopyInfoDictionaryInDirectory(