WXHook icon indicating copy to clipboard operation
WXHook copied to clipboard

项目中获取plist文件

Open FantasticSkyBaby opened this issue 7 years ago • 0 comments

例子:NSMutableDictionary *prefs = [[NSMutableDictionary alloc] initWithContentsOfFile: WXPreferencesFile]; BOOL isEnableExcludeWhenInTimeline = [[prefs objectForKey:enableExcludeWhenInTimeline] boolValue];

你prefs取得是最外层大字典,下面的代码怎么可以获取到基层之下的值呢(‘ enableExcludeWhenInTimeline’ 这个值居然还是value不是key)

不太明白这段代码怎么能生效

FantasticSkyBaby avatar Aug 21 '17 09:08 FantasticSkyBaby