Developing RESTful clients on iOS [closed] - ios

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am building an app on iOS and on Mac OS X that talks to a server using REST. The app is expected to store data fetched from the server in a local store (preferably in a SQLlite database). I understand using Core Data is a good option, but I am looking for an example of an app architecture that works on the basis of UI Views getting notified when the SQLlite database is updated as a result of a response from the server.
I have seen a talk for Android at Google I/O that addresses this type architecture in detail. Are there any similar talks/articles like this for iOS?

You're mixing quite some different things here.First you need an interface for your restufl API. Look at AFNetworking library to handle requests to the server and build your API handler. Then use an NSFetchResultController to listen to your core data being updated and do what you need accordingly in your views. NSFetchResultController is built to be used with a UITableView but you can use it in other situations if needed.

use RestKit it's the best framework to work with Rest services.
and it's well-documented. the latest version works on top of AFNetworking.
you can find some examples there as well.

Related

Real time messaging application [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I am curious to know the advantages between using parse or a custom xmpp server. I am curious if parse has the capability of being used for creating a real time chat application, because I have never used parse for that use. Or would it be easier and better to use a custom xmpp server to handle messages. I am also curious if parse would be able to completely delete data off the server because that is what my application requires. As background info I have already started the project with parse, but I could switch over to another option if it is necessary.
Thanks
In my experience with working with Parse, I don't believe that it's the correct solution for your needs.
You may get things up and running at first, but as you try to scale your application, you're going to need to ramp up your servers (and cost!) greatly to handle so many requests. Parse's pricing is based on your requests count for the month. Imagine how many requests you expect one user to make in a month. Now times that by 1000.... Not very scalable, huh?
Now I don't know much about xmpp servers, but I've heard from some colleagues that applications like WhatsApp are using Erlang and TCP servers (just like Call of Duty) to handle message requests. In fact, here's an article that talks about the logistics of WhatsApps technology https://www.erlang-solutions.com/about/news/erlang-powered-whatsapp-exceeds-200-million-monthly-users
Best of luck!

How do i implement a database for my ios app? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Improve this question
So i created my first app which allows users to track there fitness information (workouts, routines, etc). I want take my app to the next step by allowing the user to create there own account and be able to access their workouts from any ios device (all they have to do is log in). I know i have to use databases, but I just don't know where or how to start this process.
Could you recommend any tutorials or perhaps a resource you used to teach yourself? I'm familiar with sql (took a course on it in university.
thanks guys, I apologize for the newb question.
There are many third-party services you can use that can take care of the backend for your app so that you don't need to worry about managing the database yourself. Two of the most popular ones are parse and stackmob. Take a look at their documentations. I personally use parse and would recommend it.
I've never written any os apps, but for applications in general.
There are many ways, one of which is getting a server/website (you can get free ones) and set up the MYSQL database to have the tables you need like users etc.
Then simply send requests via POST/GET to the server which will enter it into the database.Then when they want to login just do the reverse.
I would personally uses sockets, and probably encrypt the data. You may as-well send information such as how long they've used the app for etc.

What is the use of MobileCoreServices/MobileCoreServices.h in iOS [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have added mobile core services framework many times in my applications but i don't know what is the actual use of this framework.
From apple site i fond only one line explanation:
-------Mobile Core Services Framework-----
The Mobile Core Services framework (MobileCoreServices.framework) defines the low-level types used in uniform type identifiers (UTIs).
For more information about the types defined by this framework, see Uniform Type Identifiers Reference.
So i want to know what type of functionality i can achieve by using this framework.
Please send me the Mobile Core Services Framework use-list.
Regards.......
As described in the answer for a question similar to yours:
The times you need to use UTIs is if you're sharing files between
applications. You'll need to use UTIs to open files downloaded from
Safari or Mail or transferred to the device through iTunes. You'll
also need UTIs if you'd like to send data to another app, like Mail or
to transferred to a computer through iTunes.
And, as Apple describes it, you can use UTI's to describe an entire class of entities with a type (such as the format for files).

Are there alternatives to Parse.com for iOS? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I currently use parse.com to manage users. They have a great API, decent backend for me to manage stuff. But I'd prefer to host my own data.
The server backend, I could whip that up in php very easily. But I'm struggling to find a decent library/framework on the iOS side of things to replicate what Parse's framework does.
To do things like easy login/logout, having a user 'cached' with a saved file, easy to use methods for using blocks to send data in the background. Any clues as to where to look or what to search for to find a similar open source library that I can integrate with my own systems?

Google Drive Realtime API for iOS [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I want to implement realtime collaboration in my iOS app using Google Drive and the new realtime API. I know that I can set up a web view in Objective-C and set up two-way communications between the web view and my native app, and therefore use the javascript library, but my fear is that this would be inefficient for a high volume of data traffic. I was hoping that possibly there would be a native solution coming on the horizon. Any news on whether the Google API client library for Objective-C will be updated to include the Google Drive Realtime API?
I do not know about the Google real time api but for google drive integration this would work. There is a sample app called Dr.Edit here.
Using UIWebView for doing all this stuff is not advised.

Resources