Permalink
Switch branches/tags
Nothing to show
Commits on Oct 29, 2013
  1. Create LICENSE

    timanglade committed Oct 29, 2013
Commits on Jul 3, 2013
  1. Merge pull request #10 from apigee/USERGRID-1708

    pdardeau committed Jul 3, 2013
    better preserve the Device UUID
Commits on Jul 2, 2013
  1. better preserve the Device UUID across apps by using the keychain ins…

    theganyo committed Jul 2, 2013
    …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. Merge pull request #9 from timburks/development

    rodsimpson committed Jun 3, 2013
    Development
Commits on May 20, 2013
  1. improvements to party example

    timburks committed May 20, 2013
    - parties are sorted by date
    - event times are shown in main list
Commits on May 5, 2013
  1. parties app icon

    timburks committed May 5, 2013
Commits on May 4, 2013
Commits on May 2, 2013
Commits on May 1, 2013
  1. user and role API wrappers

    timburks committed May 1, 2013
Commits on Apr 30, 2013
  1. Two sample apps.

    timburks committed Apr 30, 2013
    "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
Commits on Apr 23, 2013
Commits on Apr 19, 2013
  1. Merge pull request #8 from mdobson/semver-addition

    rodsimpson committed Apr 19, 2013
    Added SemVer to the client.
  2. Added SemVer to the client. UGClient version is now 0.1.1. Also took …

    mdobson committed Apr 19, 2013
    …a small crack a Nu unit tests added super basic test that verifies proper version is returned by the call.
  3. Merge pull request #7 from mdobson/adding-test-howto

    rodsimpson committed Apr 19, 2013
    Added section to README explaining how to use the nukefile, and how to u...
  4. Added section to README explaining how to use the nukefile, and how t…

    mdobson committed Apr 19, 2013
    …o use the nuke utility to test the SDK.
Commits on Apr 16, 2013
  1. Merge pull request #6 from timburks/development

    rodsimpson committed Apr 16, 2013
    New SDK classes and tools for unit testing.
Commits on Apr 15, 2013
  1. New SDK classes and tools for unit testing.

    timburks committed Apr 15, 2013
    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. Merge pull request #5 from apigee/push

    rodsimpson committed Apr 12, 2013
    do not auto-connect user to device - there may be no user
Commits on Apr 4, 2013
  1. Merge pull request #4 from apigee/push

    rodsimpson committed Apr 4, 2013
    account for notifier naming
  2. account for notifier naming

    theganyo committed Apr 4, 2013
Commits on Mar 13, 2013
  1. updated with org / app

    rodsimpson committed Mar 13, 2013
Commits on Mar 12, 2013
  1. Merge pull request #3 from mdobson/add-protocol

    rodsimpson committed Mar 12, 2013
    reviewed and accepted
  2. Added a delegate protocol to the SDK to better highlight that you can…

    mdobson committed Mar 12, 2013
    … do async stuff by implementing a delegate.