GithubHelp home page GithubHelp logo

demiurgic-json-rpc's People

Contributors

dbowen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

demiurgic-json-rpc's Issues

Sync Process

Does it support Sync. process ? like calling a function that return a value from the service response and waiting the response to come back

  • (BOOL)checkUserExistence{
    NSInteger callID;

    _jsonRPCService =[[DSJSONRPC alloc] initWithServiceEndpoint:[NSURL URLWithString:@"http://serv.m-diet.com/Persons.ashx"]];

    DSJSONRPCCompletionHandler completionHandler = ^(NSString *methodName, NSInteger callId, id methodResult, DSJSONRPCError *methodError, NSError *internalError) {
    if (methodError) {
    NSLog(@"\nMethod %@(%i) returned an error: %@\n\n", methodName, callId, methodError);
    return NO;
    }
    else if (internalError) {
    NSLog(@"\nMethod %@(%i) couldn't be sent with error: %@\n\n", methodName, callId, internalError);
    return NO;
    }
    else {
    NSLog(@"\nMethod %@(%i) completed with result: %@\n\n", methodName, callId, methodResult);
    NSMutableDictionary *responceDictionary = (NSMutableDictionary *)methodResult;
    return [[responceDictionary objectForKey:@"result"]boolValue];
    }
    };

    callID = [_jsonRPCService callMethod:@"CheckPersonID" withParameters:@{ @"PersonID" : @"[email protected]"} onCompletion:completionHandler];
    }

ARC Support

The README.md file says "Version 1.1.0 of Demiurgic JSON-RPC now has support for ARC." However, JSONKit.m lines 139-141 have this:

if __has_feature(objc_arc)

error JSONKit does not support Objective-C Automatic Reference Counting (ARC)

endif

ARC support with 1.1.0

It seems that ARC support is still lacking with 1.1.0. As I downloaded 1.1.0 and it does not build without the compiler no-arc compiler flag.

License?

I don't see any licensing information, could you add it? Preferably MIT, assuming this is meant to be free and open source.

Nice project, btw. :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.