From c711129ac947493fdb0348d37c2282f2570fb5a5 Mon Sep 17 00:00:00 2001 From: Tom Burgin Date: Thu, 15 Aug 2024 12:36:01 -0400 Subject: [PATCH] s/NSDictionary/NSBundle/ (#1418) --- 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(