Nessuna descrizione

NSDictionary+AWSMTLManipulationAdditions.h 816B

12345678910111213141516171819202122232425
  1. //
  2. // NSDictionary+MTLManipulationAdditions.h
  3. // Mantle
  4. //
  5. // Created by Justin Spahr-Summers on 2012-09-24.
  6. // Copyright (c) 2012 GitHub. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @interface NSDictionary (AWSMTLManipulationAdditions)
  10. // Merges the keys and values from the given dictionary into the receiver. If
  11. // both the receiver and `dictionary` have a given key, the value from
  12. // `dictionary` is used.
  13. //
  14. // Returns a new dictionary containing the entries of the receiver combined with
  15. // those of `dictionary`.
  16. - (NSDictionary *)awsmtl_dictionaryByAddingEntriesFromDictionary:(NSDictionary *)dictionary;
  17. // Creates a new dictionary with all the entries for the given keys removed from
  18. // the receiver.
  19. - (NSDictionary *)awsmtl_dictionaryByRemovingEntriesWithKeys:(NSSet *)keys;
  20. @end