Latest 1.1.9
Homepage https://github.com/mobicast/mobicast-cocoapods
License MIT
Platforms ios 8.0
Dependencies GoogleAds-IMA-iOS-SDK, google-cast-sdk, KochavaTrackeriOS, AFNetworking/Reachability
Frameworks UIKit, AVFoundation

Requirements

XCode 6 or newer
iOS 8.0+
CocoaPods

Installation Instructions

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

pod "Mobicast"

Now you can use Mobicast.

Usage

At first you need to import the library.

import Mobicast

To display the player in your view controller, you just need to write the code.

var discovery: DiscoveryWidget?

override func viewDidLoad() {
super.viewDidLoad()

discovery = DiscoveryWidget.init(showInViewController: self, playerToken:"102")
}

Where viewController is your view controller where the player will be displayed. And your playerToken.

To open the playlist in a separate window.

var discovery: DiscoveryPlaylist?

override func viewDidLoad() {
super.viewDidLoad()

discovery = DiscoveryPlaylist.init(showInNavigationController: self.navigationController!, playerToken: "102")
}

Where navigationController is your navigation controller from which the transition will be made. And your playerToken.

For correct work of the framework, you need to add UIViewControllerBasedStatusBarAppearance in your application’s Info.plist and set it to Type: Boolean and Value: NO.

License

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

Latest podspec

{
    "name": "Mobicast",
    "version": "1.1.9",
    "summary": "Mobicast video player.",
    "description": "import MobicastnnDiscoveryWidget.init(showInViewController: self, playerToken:'102')",
    "homepage": "https://github.com/mobicast/mobicast-cocoapods",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": "Mobicast",
    "source": {
        "git": "https://github.com/mobicast/mobicast-cocoapods.git",
        "tag": "1.1.9"
    },
    "platforms": {
        "ios": "8.0"
    },
    "vendored_frameworks": "Mobicast/Framework/Mobicast.framework",
    "frameworks": [
        "UIKit",
        "AVFoundation"
    ],
    "dependencies": {
        "GoogleAds-IMA-iOS-SDK": [
            "3.5.2"
        ],
        "google-cast-sdk": [
            "3.5.0"
        ],
        "KochavaTrackeriOS": [],
        "AFNetworking/Reachability": [
            "~> 3.0"
        ]
    }
}

Pin It on Pinterest

Share This