iPhone SDK, framework to handle api calls? [closed] - iphone

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
i am creating an iphone app, can someone suggest some framework to handle api calls to server (i am using coreData for my model)
there is one framework, restkit. but it requires backend to have a very specific format
is there any other framework/set of classes which can be easily customized?

It's difficult to answer your question without knowing what sort of API you want to communicate with; does it follow some relatively well-known and well-defined structure? If not, there probably won't be a framework for it and you'll have to roll your own communication code. Looking into the ASIHTTPRequest library would be a good starting point if this is the case.

Related

Sails.js - Services vs Helpers [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I am new to Sails.js coming from Laravel framework. I have an API i need to use in my Sails project and I wanted to write a mini library using the Services approach. But on the docs page about it https://sailsjs.com/documentation/concepts/services its stated that I shouldn't use Services but Helpers instead which kind of cofuses me - I have around 15 actions on the API I want to use - so should I create 15 different Helpers instead of one Service? That seems really odd to me and it will be a mess. Is there some better approach I am not seeing?
I see that I can still use Services but I am affraid they will be deprecated soon.
Thanks!

Swift app that allows two users to see a live updates drawing canvas [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I'm trying to build a swift app that would allow a user on one side to draw an image that will be updated in nearly real time on the other user's device, somewhat as if they were drawing on a whiteboard in person.
Anyone have any tips or places where I should start? I'm relatively new to swift. Thanks for your help.
This requires a persistent line of communication between your mobile device(s) and your server. Websockets allow this type of communication. I haven't implemented them myself so I can't provide implementation details, but there are plenty of resources available online.
Sockets with Swift
Websockets Tutorial
I think Realm is exactly what you are looking for.
Real time collaboration in as little as 10 lines of code

Why is REST called an architecture style? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
Why is REST an architecture style whereas SOAP is considered as a protocol? Please explain.
Architecture is about high level design. REST is an example of that because it is only a set of design guidelines like that your API should be stateless. It doesn't tell you exactly what language to use or what your code should look like.
Other examples of architectural questions are
How should my modules communicate?
How should I structure my data?
What guiding principles can I apply?
Non examples are:
What is the name of the function that allocates memory?
Do I use i++ or ++i?

How to display resources of a restful API [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am trying to display the resources and associated subresources of a restful API I am working with (https://api.lendingclub.com/api/investor//). If resources aren't documented, is there any way to find them?
There presently is not a standard way to discover restful API operations like there is with WSDL based soap web services.
Documentation from the API provider is the best way to learn.

Rest Web Service with scala [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I am starting to learn how to build rest Web service (I come from soap web service).
I'm an intermediate scala programer. I'd like to know as of now, what is the most widespread framework for building Restful Service. But i would also appreciate personal opinion on what is the easiest to use for the task of solely building rest api/web-service, very fast, with a not so complicate learning curve.
Many thanks,
-M-
Play, Scalatra and Spray are all good choices with a reasonable learning curve.
You'll have to look at these (and others), then decide which fits best with your own preferences. It's a very subjective question and there are too many variables for anyone to be able to give a definitive answer.