GNPair 0.1.0

GNPair 0.1.0

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Oct 2016

Maintained by Games Neox.



GNPair 0.1.0

  • 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()

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Minimum supported iOS version: 8.x

Installation

GNPair is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "GNPair"

Author

Games Neox, [email protected]

License

GNPair is available under the MIT license. See the LICENSE file for more info.