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 8 years ago.
Improve this question
we need to create a chat application with a deployment target of iOS 6.
I have the following doubts regarding this,
1.Does apple provide any SDKs for such application.?
2.Is the chat messages pulled from server at real time using repeating pull requests using a timer?? If so , will that effect memory efficiency and app performance??
3.Do we have to maintain a local cache of each message exchanged??
4.From recent research i learned about C2Call framework. Is this a good option to build a chat application.??
I can advice to use XMPPFramework for iOS. It is open source project that implements XMPP protocol.
As it based on XML format it's easy to extend functionally by adding custom tags for storing any addition data you need.
XMPP protocol has implementations for most of platforms (client- and server-side).
For server side you could use Openfire.
Answering on your questions:
No, Apple doesn't provide specialised solutions for chat apps.
XMPPFramework based on sockets (similar to push notifications mechanism).
XMPPFramework provides mechanism for storing chat history in local database (based on CoreData). Also you could load history from server.
Related
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 2 years ago.
Improve this question
I'm fairly new to ios app development and came across an idea for an app that involves chatting. The flow of the app is fairly simple as it involves simple login and profile creation. As a lot of my experience comes from web development, I was planning on creating a backend server using node that communicates with the client-side (which will be written in swift), taking the core ideas from this [tutorial][1].
Not strictly related, but if you don't mind changing plans a bit, as an iOS beginner dev using Swift and Firebase looks the easiest solution to me. I've seen many tutorials about the realization of a Chat App and although most them, paid and free, are just not good enough even as a starting project, i found this to be pretty good quality wise, let's say in the ~30 hours of tutorial 50% of the work for a basic Chat App is already done.
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 2 years ago.
Improve this question
I'm thinking of developing an app where you can look at each other's profiles (basically a Job-Finding Application) and I would like to know if you needed any knowledge of PHP, MYSQL for the databases and would you need any knowledge of Javascript to develop the application.
I'm currently looking at Google Firebase and also didn't know if that required any PHP knowledge?
All of the Firebase SDKs that you would use in your client app do not require any programming language knowledge other than what's required for your client platform. If you want to write entirely in swift, that's fine.
The only exception is Cloud Functions, which requires that you learn JavaScript to run on the backend.
iOS apps are built in Swift or C#, typically not javascript and never php.
You can build a PWA (progressive web app) that acts like an ios app using javascript Libraries such as react.
However, MySQL is a database that can be used with any number of applications and programming languages, so you should probably learn that.
My guess is that if you are asking this question, you probably should consult the Apple developer documentation before asking on this form.
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 8 years ago.
Improve this question
With the new app-extension kit, I'd like to know if it's possible to build an app that tracks various usage statistics of other apps. For e.g., the no of times someone uses their calculator or the no of minutes spent on Quora.
This is a really nice idea to enhance the ability of iOS system. However, even in iOS8 this is unlike to achieve. Apple has offered so limited APIs for APPs to access other APPs. In those APIs, I cannot find any one to record other APPs' launching or closing. (Except you call that from your own APP so that you can record the time, but this is meaningless.)
In the official document for App Extension Programming, manager for APP is not a type that is mentioned in the guide. I'm afraid that you have read it and it cannot give you more help.
I tried to do research on the most detail list of iOS APIs to find whether this is possible. But since iOS5.0, Apple no longer provided the API diffs. Here is the search result.
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 5 years ago.
Improve this question
Is there a way to register for Apple's Push Notification Service when developing an app using Qt 5.2 (http://qt-project.org/)?
I have experience of doing it with XCode and Objective-C, but can't find any help for doing the same with Qt.
Thanks
TL;DR: Do what you're doing, don't worry about Qt.
Qt does not provide any APIs targeted for that. There's no reason whatsoever not to keep using the Objective C/C++ code that you have. Simply add your .m and .mm files to OBJECTIVE_SOURCES in the .pro file.
Qt interoperates with Cocoa quite nicely; all threads with an event loop also spin a NSRunLoop, so notifications work as expected. QString has conversion methods to and from NSString.
If you're looking for local push notifications you might also be interested in our Qt plugin at: http://plugins.v-play.net (I'm one of the authors behind V-Play Qt 5 Plugins).
We are currently also working on a plugin for Parse Push Notifications (from Facebook), which provide a nice interface for sending cross-platform pushs from the web and over an API.
Alex
Here is a sample project which demonstrates how to implement iOs push notifications with Qt: https://github.com/gympulsr/qt-pushnotifications
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 9 years ago.
Improve this question
So I know this is a pretty simple question, but I've looked through all of my iOS textbook and can't seem to find out how people do this. I just want to store and edit an array on the internet. That is, let's say all of the data for my application is stored in an NSMutableArray. Ignoring the complications that occur with people editing the array at the same time, how would I allow multiple people to go into my app and then through that app access and edit the NSMutableArray for others to see?
There are a ton of options here, some of which were listed by #Zaph. The most common scenario to share data between a ton of random users is to setup your own server to run an API that you app will be able to communicate with. This is commonly referred to as the "Backend". The solutions here are vast, written in many different languages and sometimes even provided by third parties services. My advice is to pickup a simple, easy to learn server-side setup like Ruby-on-Rails, then deploy test app on Heroku as they provide free accounts to play with.
In addition to the options #coneybeare provided some others include DropBox, Parse and Azure.
Dropbox requires each user so setup an account.
Parse and Azure have rather easy APIs but you will be paying past the free tier.