Skip to content

1.3 - Ease of use

Latest
Compare
Choose a tag to compare
@tevelee tevelee released this 15 Oct 00:44
· 6 commits to master since this release

Added class extensions which makes the subclassed collections easier to use:

Array

  • [NSArray nilStoringArray];
  • [NSArray nilStoringArrayWithObject:object];
  • [NSArray nilStoringArrayWithArray:array];
  • [NSArray nilTolerantArray];
  • [NSArray nilTolerantArrayWithObject:object];
  • [NSArray nilTolerantArrayWithArray:array];

Dictoinary

  • [NSDictionary nilStoringDictionary];
  • [NSDictionary nilStoringDictionaryWithObject:object];
  • [NSDictionary nilStoringDictionaryWithDictionary:dictionary];
  • [NSDictionary nilTolerantDictionary];
  • [NSDictionary nilTolerantDictionaryWithObject:object];
  • [NSDictionary nilTolerantDictionaryWithDictionary:dictionary];

Set

  • [NSSet nilStoringSet];
  • [NSSet nilStoringSetWithObject:object];
  • [NSSet nilStoringSetWithSet:set];
  • [NSSet nilTolerantSet];
  • [NSSet nilTolerantSetWithObject:object];
  • [NSSet nilTolerantSetWithSet:set];