CocoaPods trunk is moving to be read-only. Read more on the blog, there are 14 months to go.
| TestsTested | ✗ |
| LangLanguage | Obj-CObjective C |
| License | MIT |
| ReleasedLast Release | Mar 2016 |
Maintained by Peter Meyers.
A dictionary that preserves the uniqueness of both its keys and its values.
Use BijectiveDictionary when you want to:
BijectiveDictionary implements six classes to provide ordering, mutability and thread-safety.
OPCBijectiveDictionaryOPCMutableBijectiveDictionaryOPCOrderedBijectiveDictionaryOPCMutableOrderedBijectiveDictionaryOPCThreadSafeMutableBijectiveDictionaryOPCThreadSafeMutableOrderedBijectiveDictionaryOPCMutableBijectiveDictionary *dict = [OPCMutableBijectiveDictionary dictionary];
// Add a new key-value pair.
dict[@"key"] = @"value";
// Retrieve the value for @"key".
NSString *value = dict[@"key"];
// Retrieve the key for @"value".
NSString *key = dict.inverse[@"value"];
Minimum iOS Target: 5.0
BijectiveDictionary is available through CocoaPods. To install, add the following line to your Podfile and then run pod install.
pod 'BijectiveDictionary'BijectiveDictionary is available under the MIT license. See the LICENSE file for more info.