NSDictionary(FWSafeType)

@interface NSDictionary<__covariant KeyType, __covariant ObjectType> (FWSafeType)

/**
 安全读取对象(过滤NSNull)
 
 @param key 键名
 @return 键值
 */
- (nullable ObjectType)fw_objectForKey:(nullable KeyType)key NS_REFINED_FOR_SWIFT;

@end

Undocumented

  • 安全读取对象(过滤NSNull)

    Declaration

    Objective-C

    - (nullable ObjectType)fw_objectForKey:(nullable KeyType)key;

    Parameters

    key

    键名

    Return Value

    键值