Alternative for Multipeer-connectivity tvOS swift - swift

I have been looking around trying to figure out how crossy road developers and beat sports developers have made their remote controller "add-on." First I thought Multipeer-connectivity, but after trying to test it on the Apple TV realized the framework was not support, why? Makes no sense to me, but anyways. So my question is, does anyone know what cross road developers did?
Thanks in advance.

If you only need to create a software-based game controller, you don't really need peer-to-peer. I've used NSNetService and made my framework available as open source: https://github.com/robreuss/VirtualGameController
Core Bluetooth would also work but will not give you the same performance as WiFi (NSNetService).

Related

iPhone as a Midi Controller

I'm attempting to create an application for my iPhone to enable the phone to act as a hardware interface to control software on my computer through midi mapping. For example to assign cue buttons in software such as Ableton/Traktor onto a GUI interface controlled on the Phone.
I am aware that previous versions of this have been created, such as the ITM Matrix http://www.itouchmidi.com/?q=node/5. I have been using this application but I have some variations i wish to implement so figured the best way to learn would be to start from scratch. Though my programming skills are limited I'm hoping this task shouldn't be too difficult and would appreciate any advice in how best to get this up and running.
Cheers
Mike
You are going to have a difficult time with little programming experience. But here is the documentation on the Core MIDI Framework in iOS which you are going to need.
I decided to write my own iPhone MIDI Controller app too.
What really helped the most was this five part blog post series that really helped to understand how Core MIDI works on iOS.
There is a bit of open source code called PGMidi (http://goodliffe.blogspot.com/2011/02/pgmidi-updated.html) that is a good example of sending and receiving midi on iOS using core midi. He has a working example that you could try tinkering with.

Game Center vs OpenFeint

I would like to add a global leaderboard for my games score.
Would you recommend Game Center or OpenFeint for implementing this?
What is needed to setup a global leaderboard? Is the server hosted by the service?
Thanks
Use both networks if you can!
I know many users, who prefer one of them and hate the other.
As far as I know has Openfeint built in GameCenter integration.
Giving the user the chance to use both gives you the best of both worlds.
Game Center definitely.
It's officially supported by Apple so it's really well integrated into the sdk and there's no guarantee Apple will not prohibit all third-party game networks at some point in the future.
The servers are hosted by the service (for Game Center at least)
One important difference between the two is that OpenFeint has Android support. That is something to consider if you are multiplatform.

connect non iPhone Device using bluetooth in iPhone to display data

Is it possible to connect non iPhone device (like Blood sugar monitoring) with the iPhone to display its data.
So my First Question is:
1.Is it possible
2.If yes can you provide some links for development or Example codes.
Thanks for any kind of help in advance...
You can get the answer of your question here
P.S. The link is same as it is on the comment of the answer.. But since I didnt noticed the comment and was searching for the long time. So for the ones who havent seen Brads comment in the question. I have passed the link in answer.
Thanks
Do you want code or an application? Search for Bump on the AppStore. If you want code, I'd suggest looking at the GameKit framework however I don't know if you can use that to talk to other devices or not...
I would imagine it's definitely possible. A protocol like Bluetooth or WIFI would be device-agnostic. I guess it would depend on the device that you want to interface with your iPhone. Do you have a device in mind?

What is the best way to transfer an object between two iOS devices running the same app?

I'm trying to give my iOS app the ability to transfer an object to another iOS device running the same app. The object is on the order a few thousand KB of memory. Does anyone have a suggestion as to how to do this? I am considering using FTP, but that seems a little messy. Does anyone have any suggestions on possibly using GameKit? Or something else?
GameKit would probably be your best bet. This link seems to go over it pretty well
As an alternative, I've found the SimpleNetworkStream example that apple gives an exact match as to what I want to do. Simple Peer to Peer file transfer might be the best solution.... It seems that people are having a lot of trouble transferring large data objects with GameKit.

which features do you look forward to the most in iPhone SDK 3?

Which of the new features are you looking forward to the most in iPhone SDK 3.0?
Is it one of the main advertised six new things, or something smaller? Something in the "1,000 new APIs", perhaps?
Phone to phone communication via bluetooth seems like it will terribly useful for some apps I am writing. No longer do you have to input all the data you want to store yourself, you can share some of it with other iPhone users.
not really a feature, but the best thing about developing the iPhone SDK further is the great frameworks that arise. there are some really, really great frameworks out there already (like the Three20 project) which will become even better with the new 3.0 SDK.
my real excitement will take over once they let us run background processes. maybe in 4.0?
Video! The ability to write decent tools for mobile video uploads is a big draw.
MapKit by far will bring the biggest change sweeping across the app space.
My personal favorite is that we can finally easily track upload progress of large files (like images).
I really, really want to see fixes in the camera API so that it isn't either broken (2.2.1) or forcing a switch to portrait (3.0).
Apart from that, the most useful features to me are:
push notifications. Great for making an app more sticky - you can let the user know that something of interest to them has happened.
CoreData - I've been using a third-party SQL layer, but it's a little buggy and no longer supported.
Peer-peer bluetooth, as the poster above said, is also useful for local data exchange.
And the least useful? Cut and paste. I actually want to disable it in my app (to discourage people from copying content) - and it doesn't look as though you can (yet).
Bluetooth phone-to-phone communication with GameKit will enable a host of currently impossible applications. Multiplayer games with no WiFi network needed and data exchange between two phones are obvious use-cases.
I'd also like to see - not currently included in the betas - a decent camera API that allowed us to customize the appearance of the capture screen, and as another poster said, have it work properly in landscape and portrait mode.