Latest 0.1.0
Homepage https://github.com/matteocrippa/SecondScreen
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

SecondScreen is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "SecondScreen"

Usage

Pretty easy to use instantiate SecondScreen and add delegates:

import UIKit
import SecondScreen

class ViewController: UIViewController, SecondScreenDelegate {

    var secondScreen = SecondScreen()

    override func viewDidLoad() {
        super.viewDidLoad()
        secondScreen.delegate = self
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
    }

    deinit {}

    func externalVideoConnected(externalWindow: UIWindow) {
        print("Ext video connect")

        // externalWindow.rootViewController =
    }

    func externalVideoDisconnected() {
        print("Ext video disconnected")
    }
}

Author

Matteo Crippa, @ghego20

License

SecondScreen is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "SecondScreen",
    "version": "0.1.0",
    "summary": "A simple handler for second screen.",
    "description": "Manage easily a second screen within your apps",
    "homepage": "https://github.com/matteocrippa/SecondScreen",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Matteo Crippa": "ghego20"
    },
    "source": {
        "git": "https://github.com/matteocrippa/SecondScreen.git",
        "tag": "0.1.0"
    },
    "social_media_url": "https://twitter.com/ghego20",
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "SecondScreen/Classes/**/*"
}

Pin It on Pinterest

Share This