TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Oct 2016 |
Maintained by Games Neox.
Pair utility for Objective-C/Swift. Basis usage:
#import <GNPair/GNPair.h>
GNPair<NSString*, NSArray<NSString*>*>* pair = [[GNPair alloc] initWith:@"first" andWith:@[@"second"]];
NSString* first = [pair first];
NSArray<NSString*>* second = [pair second];
import GNPair
let pair = GNPair("first", with: ["second"])
let first = pair.first()
let second = pair.second()
To run the example project, clone the repo, and run pod install
from the Example directory first.
Minimum supported iOS
version: 8.x
GNPair is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "GNPair"
Games Neox, [email protected]
GNPair is available under the MIT license. See the LICENSE file for more info.