Code Monkey home page Code Monkey logo

restkittest's Introduction

RestKitTest

This repository contains a simple RubyMotion app that uses RestKit to fetch a sample piece of JSON and then displays the results in a table view.

Requirements

You can run the project by doing the following:

$ git clone git://github.com/rounders/RestKitTest.git
$ cd RestKitTest
$ git submodule add git://github.com/RestKit/RestKit.git vendor/RestKit
$ rake

restkittest's People

Contributors

rounders avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

Forkers

pigoz andyw8

restkittest's Issues

post runtime errors

doing:

RKClient.sharedClient.post("/tokens.json", params:params, delegate:self)

gets you the runtime error:

(main)>> Objective-C stub for message `post:params:delegate:' type `@@:@@@' not precompiled. Make sure you properly link with the framework or library that defines this message.
((null))>> rake aborted!
Command failed with status (1): [DYLD_FRAMEWORK_PATH="/Applications/Xcode.a...]

Tasks: TOP => default => simulator
(See full trace by running task with --trace)

using --trace just changes the last line to:

** Execute default

I do not know if this is the correct place to post this...

Not able to do a POST with RKClient

In the example, you show a simple get request, which works great, but when i'm trying to make a post using params and the RKClient.sharedClient.post (RKClient.sharedClient.post("my_url", params:params, delegate:self) ) method, I get the following error:

Objective-C stub for message post:params:delegate:' type@@:@@@' not precompiled. Make sure you properly link with the framework or library that defines this message.

Is there a library missing or it's syntax error?

Thank you in advance.

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.