Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Oct 29, 2013
  1. @timanglade

    Create LICENSE

    timanglade authored
Commits on Jul 3, 2013
  1. @pdardeau

    Merge pull request #10 from apigee/USERGRID-1708

    pdardeau authored
    better preserve the Device UUID
Commits on Jul 2, 2013
  1. @theganyo

    better preserve the Device UUID across apps by using the keychain ins…

    theganyo authored
    …tead of app local storage
    
    use identifierForVendor to have multiple apps on a device share a UUID when possible
Commits on Jun 3, 2013
  1. @rodsimpson

    Merge pull request #9 from timburks/development

    rodsimpson authored
    Development
Commits on May 20, 2013
  1. @timburks

    improvements to party example

    timburks authored
    - parties are sorted by date
    - event times are shown in main list
Commits on May 5, 2013
  1. @timburks

    parties app icon

    timburks authored
  2. @timburks
  3. @timburks
Commits on May 4, 2013
  1. @timburks
  2. @timburks
Commits on May 2, 2013
  1. @timburks
Commits on May 1, 2013
  1. @timburks
  2. @timburks
  3. @timburks
  4. @timburks

    user and role API wrappers

    timburks authored
Commits on Apr 30, 2013
  1. @timburks
  2. @timburks

    Two sample apps.

    timburks authored
    "books" is a native version of the HTML5 example in Tim Anglade's HTML5 class.
    "browser" is a simple browser of Usergrid collections.
    
    This commit also includes a minor change to UGConnection to fix
    crashes in the sample apps that would occur when users attempted
    to sign in with no username or password specified.
Commits on Apr 24, 2013
  1. @timburks
Commits on Apr 23, 2013
  1. @timburks
Commits on Apr 19, 2013
  1. @rodsimpson

    Merge pull request #8 from mdobson/semver-addition

    rodsimpson authored
    Added SemVer to the client.
  2. @mdobson

    Added SemVer to the client. UGClient version is now 0.1.1. Also took …

    mdobson authored
    …a small crack a Nu unit tests added super basic test that verifies proper version is returned by the call.
  3. @rodsimpson

    Merge pull request #7 from mdobson/adding-test-howto

    rodsimpson authored
    Added section to README explaining how to use the nukefile, and how to u...
  4. @mdobson

    Added section to README explaining how to use the nukefile, and how t…

    mdobson authored
    …o use the nuke utility to test the SDK.
Commits on Apr 16, 2013
  1. @rodsimpson

    Merge pull request #6 from timburks/development

    rodsimpson authored
    New SDK classes and tools for unit testing.
Commits on Apr 15, 2013
  1. @rodsimpson
  2. @timburks

    New SDK classes and tools for unit testing.

    timburks authored
    This commit adds new classes in the UGAPI/v2 directory that
    provide direct access to the Usergrid HTTP API. Instances
    of the UGConnection class can be used to create NSMutableURLRequests
    that can then be performed to call the Usergrid API. These
    calls can be made with any HTTP framework desired by the
    app developer, but as a convenience, this commit also includes
    the UGHTTPClient class, which can make calls synchronously or
    asynchronously. Synchronous calls will block and return a
    UGHTTPResult instance, and asynchronous calls take C blocks
    which they call when the requests complete or fail. All
    information about HTTP calls is returned in the UGHTTPResult
    instance, including errors. This gives app developers full
    visibility of any network problems that could occur.
    
    It is also now possible to build the SDK on the command line
    as a Mac framework, which can then be used to interactively
    use the SDK from the command line or to write interpreted
    utilities and unit tests. This requires Nu (http://programming.nu).
    Builds and tests are supported by the included "Nukefile".
    After installing Nu, you can type "nuke" at the command
    line to build Usergrid.framework, and "nuke install" to
    install Usergrid.framework in /Library/Frameworks. Then
    you can interact with the Usergrid.framework using the Nu
    shell by typing "nush" at the command line.
    
    ========= EXAMPLE ==========
    tim% nush
    Nu Shell.
    % (load "Usergrid")
    t
    % (set client ((UGClient alloc) initWithOrganizationId:"1hotrod" withApplicationID:"fred"))
    <UGClient:7fc7ddb04250>
    % (set response (client logInUser:"alice" password:"test1test"))
    <UGClientResponse:7fc7dba1acd0>
    % (set object ((response rawResponse) JSONValue))
    <__NSDictionaryM:7fc7ddb1e900>
    % (puts (object JSONValue))
    Nu uncaught exception: NuUndefinedSymbol: undefined symbol JSONValue while evaluating expression (object JSONValue)
      from <TopLevel>:1: in object
      from <TopLevel>:1: in puts
    
    % (puts (object description))
    {
        "access_token" = YWMtTqsVbqYiEeKmQALoGuNOzAAAAT40B3oDr8iBRVTNHwVgBc3TL63UVqHO4LM;
        "expires_in" = 604800;
        user =     {
            activated = 1;
            created = 1359834587923;
            email = "alice@alice.com";
            modified = 1359834587923;
            name = alice;
            picture = "http://www.gravatar.com/avatar/37bed650c57b657c441a586579edfea6";
            type = user;
            username = alice;
            uuid = "b32b56df-6d71-11e2-81cf-02e81ac5a17b";
            "validate-password" = test1test;
        };
    }
    ()
    %
    ============================
    
    To run the unit tests, type "nuke test" at the command line.
    
    For more information about Nu, see http://programming.nu and http://github.com/timburks/nu
Commits on Apr 12, 2013
  1. @rodsimpson

    Merge pull request #5 from apigee/push

    rodsimpson authored
    do not auto-connect user to device - there may be no user
Commits on Apr 4, 2013
  1. @theganyo
  2. @rodsimpson

    Merge pull request #4 from apigee/push

    rodsimpson authored
    account for notifier naming
  3. @theganyo

    account for notifier naming

    theganyo authored
Commits on Mar 13, 2013
  1. @rodsimpson

    updated with org / app

    rodsimpson authored
Commits on Mar 12, 2013
  1. @rodsimpson
  2. @rodsimpson
  3. @rodsimpson

    Merge pull request #3 from mdobson/add-protocol

    rodsimpson authored
    reviewed and accepted
  4. @mdobson

    Added a delegate protocol to the SDK to better highlight that you can…

    mdobson authored
    … do async stuff by implementing a delegate.
Something went wrong with that request. Please try again.