Qt Apple Push Notifications [closed] - ios

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

Related

PHP // MYSQL // JAVASCRIPT needed for a native iOS online app? [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 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.

What's the state of developing iOS apps in Linux? [closed]

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 7 years ago.
Improve this question
I thought this would be the appropriate community to ask this question.
Back when Apple had their developer's conference over the summer, I was aware that they were going to make Swift open source.
I was under the impression that Xcode would not be ported to Linux, but I was under the understanding that some entity would create a development program to imitate Xcode.
Therefore, I am wondering about new developments in this situation.
Does anyone have any more current knowledge about this topic or any experiences with this?
There's a misunderstanding here.
Swift the programming language is open source.
It doesn't mean that iOS or OS X frameworks, like Cocoa, UIKit, etc, are available in Linux - Apple didn't announce that.
When you make an app for iOS using Swift, you have to import UIKit and other libraries - those are the iOS parts.
Swift is just the language - you can already make an iOS app with Ruby, Objective-C, JavaScript, etc, using these same libraries.

Support both 32 & 64 bit iOS binary without code changes in Xamarin [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 8 years ago.
Improve this question
I wanted to check if its possible to build iOS app with both 32-bit and 64-bit support without using the new Unified Apis in Xamarin. Unified API support will require code changes in existing Xamarin iOS apps which are using MonoTouch Foundation and we want to avoid that.
Any pointers will be welcome
Thanks in advance!
No it is not possible to support 64 bit apps with the classic API. This is explained in the Xamarin blog post: http://blog.xamarin.com/unified-api-with-64-bit-support-for-ios-and-mac/
It is actually quite easy to update to unified, so i don't see a reason why you want to avoid that, also because it will be a requirement of Apple soon, and you can't publish new updates anymore after there deadline. For more information on how to update see the Xamarin documentation on that: http://developer.xamarin.com/guides/cross-platform/macios/updating_ios_apps/

Best approach for building a chat application ios 6 [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 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.

RubyMotion for game development [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
How suitable RubyMotion for iOS game development?
I was not able to find CoreAnimation topics in documentation, but as I've heard someone was able to use cocos-2d with RubyMotion.
If you have some useful information which you are willing to share, I would greatly appreciate this!
If you are willing to program your game completely programmatically, RubyMotion is a fine choice. There is no appreciable drop in performance and every C library and API is available to RubyMotion. Using motion-cocoapods you're even able to include CocoaPods and you can also include Objective-C libraries.
The one issue you may run into is a lack of RubyMotion-specific tutorials and documentation for games.
EDIT: I successfully (with help) recreated the Sparrow game engine demo in RubyMotion:
https://github.com/jamonholmgren/demo-sparrow
It runs beautifully.
You can try JoyBox it combines popular 2D game engine for iOS, Cocos2D, folds in with Box2D physics engine, and wraps into Ruby API. Joybox can be found at this link on github.

Resources