Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/kodlian/TVVLCPlayer
Browse files Browse the repository at this point in the history
  • Loading branch information
kodlian committed Mar 4, 2018
2 parents 3ace93b + 0bbb3b2 commit 5c48fe7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ pod "TVVLCPlayer", "~> 1.0"

## Usage
### Storyboard
In your storyboard add a reference to the VLCPlayer storyboard from the org.cocoapods.TVVLCPlayer bundle.
In your storyboard add a reference to the `VLCPlayer` storyboard from the `org.cocoapods.TVVLCPlayer` bundle.
Then set a media on the playerViewController:
```swift
import TVVLCKit
import TVVLCPlayer
...
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
if let playerViewController = segue.destination as? VLCPlayerViewController {
Expand All @@ -33,7 +33,7 @@ override func prepare(for segue: UIStoryboardSegue, sender: Any?) {

### In code
```swift
import TVVLCKit
import TVVLCPlayer
...
let media: VLCMedia = ...
let playerViewController = VLCPlayerViewController.instantiate(media: media)
Expand Down

0 comments on commit 5c48fe7

Please sign in to comment.