CocoaPods trunk is moving to be read-only. Read more on the blog, there are 19 months to go.

remote-controllable 0.2.0

remote-controllable 0.2.0

TestsTested
LangLanguage SwiftSwift
License Custom
ReleasedLast Release May 2017
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by Thomas Gilbert.



remote-controllable

What is remote-controllable?

This library is written to allow an app to be supported remotely. Think ‘teamviewer’ inside your app. Once the app is connected, screenshots are streamed to the server, and in turn, the server can draw dots at specific locations on the screen. Thanks to remote-controllable you can offer remote support in your app, with only a couple of lines of code.

The library is maintained by @glagnar under remote-controllable. You can reach me at [email protected] for help or if you have a comment about the library.

Features

  • Swift 3 compatible (Xcode 8.3).
  • For beginners
  • Built for iOS
  • Actively supported

Setup

Requirements

  • You need a service set up to run this library.
  • Try this one at DockerHub

How to use in your program

The library will connect to a server on request. Once connected, it will send a screenshot to the server at intervals, and allow the server to draw on the iOS device. The first step to start using remote-controllable is connecting to the server. In fact, the whole thing is so easy - there are only three methods. isConnected(), startConnection(url: String), stopConnection().

// Example using all three methods
import remote_controllable

func yourFunction() {
  RemoteControllableApp.sharedInstance.isConnected() ?
    RemoteControllableApp.sharedInstance.stopConnection() :
    RemoteControllableApp.sharedInstance.startConnection("yourserver.com:8006")
}

// Another perhaps more realistic function
func yourFunction2() {
  let myConnector = RemoteControllableApp.sharedInstance

  if somethingImportatnt == somethingElse {
    myConnector.stopConnection()
  }
}

Thanks

This could not be possible if it were'nt for the guy’s behind socket.io

Note

This library can be made available on different licensing terms. Contact me for more information.