Latest 0.1.1
Homepage https://github.com/weaver/Identify
License MIT
Platforms ios , requires ARC
Authors

Create compact, unique identifiers in iOS.

Version
Platform
Build Status

Features

  • Compact, urlsafe encoding
  • UUIDs
  • Device ID
  • Synthesize IDs with a hash

Installation

Identify is available through CocoaPods, to
install it, add the following line to your Podfile:

pod 'Identify', '~> 0.1.2'

Examples

To generate a UUID, use the makeId method. A fresh UUID is generated
and encoded as urlsafe-base64 into a 23 character NSString.

[Identify makeId]

The device’s advertisingIdentifier can be encoded in a similar way:

[Identify deviceId]

Sometimes it’s helpful to create an id deterministically. For example,
you may want a deterministic way to uniquely identify a many-to-many
relationship with a single key:

[Identify synthesizeId:[fromObj identity], [toObj identity], nil]

Documentation

License

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

Latest podspec

{
    "name": "Identify",
    "version": "0.1.1",
    "summary": "Create compact, unique identifiers.",
    "homepage": "https://github.com/weaver/Identify",
    "license": "MIT",
    "authors": {
        "Ben Weaver": "[email protected]"
    },
    "source": {
        "git": "https://github.com/weaver/Identify.git",
        "tag": "0.1.1"
    },
    "requires_arc": true,
    "platforms": {
        "ios": null
    },
    "source_files": "Classes"
}

Pin It on Pinterest

Share This