NSDictionary(KSTExtensions)

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

/**
 Returns a new dictionary by adding the entries from *dictionary* to the receiver.
 
 @param dictionary The dictionary whose entries should be added
 @return The new dictionary
 */
- (NSDictionary<KeyType, ObjectType> *)KST_dictionaryByAddingDictionaryEntries:(NSDictionary<KeyType, ObjectType> *)dictionary;

@end

Undocumented

  • Returns a new dictionary by adding the entries from dictionary to the receiver.

    Declaration

    Objective-C

    - (nonnull NSDictionary<KeyType, ObjectType> *)
        KST_dictionaryByAddingDictionaryEntries:
            (nonnull NSDictionary<KeyType, ObjectType> *)dictionary;

    Parameters

    dictionary

    The dictionary whose entries should be added

    Return Value

    The new dictionary