github.com/keybase/client/go@v0.0.0-20241007131713-f10651d043c8/updater/osx/Updater/NSDictionary+Extension.h (about) 1 // 2 // NSDictionary+Extension.h 3 // Updater 4 // 5 // Created by Gabriel on 4/19/16. 6 // Copyright © 2016 Keybase. All rights reserved. 7 // 8 9 #import <Foundation/Foundation.h> 10 11 @interface NSDictionary (Extension) 12 13 /*! 14 Get BOOL value for key. 15 @param key Key 16 @result YES if boolValue; If key not found or is NSNull, returns NO. 17 */ 18 - (BOOL)kb_boolForKey:(id)key; 19 20 /*! 21 NSString for key. 22 @param key 23 @result NSString 24 */ 25 - (NSString *)kb_stringForKey:(id)key; 26 27 /*! 28 NSArray of NSString for key. 29 @param key 30 @result NSArray 31 */ 32 - (NSArray<NSString *> *)kb_stringArrayForKey:(id)key; 33 34 @end