PlayerView

class PlayerView : UIView, UITableViewDelegate, UITableViewDataSource, UIGestureRecognizerDelegate, PlayerViewHeaderCellDelegate

Player view is the view displayed when user tap a content

Properties

  • Table view for the cells

    Declaration

    Swift

    @IBOutlet
    var tableView: UITableView!
  • This is a UIview for the player

    Declaration

    Swift

    @IBOutlet
    var player: UIView!
  • This is a NSLayoutConstraint for player

    Declaration

    Swift

    @IBOutlet
    var playerAspectRatio: NSLayoutConstraint!
  • This is a playerNavigationView to show the side bar for Wiki

    Declaration

    Swift

    @IBOutlet
    var navigationView: playerNavigationView!
  • This is variable to store content

    Declaration

    Swift

    var content: Content!
  • This is a deleaget for playerView

    Declaration

    Swift

    var delegate: PlayerViewControllerDelegate?
  • Initialise the state of View Controller set to .hidden for default

    Declaration

    Swift

    var state: stateOfViewController
  • The direction

    Declaration

    Swift

    var direction: Direction
  • This is a view for the pdf

    Declaration

    Swift

    var pdfView: PDFView
  • This is the controller for the player

    Declaration

    Swift

    let videoPlayerViewController: AVPlayerViewController
  • This is a variable to show if the content is liked

    Declaration

    Swift

    var contentLiked: Bool
  • This is a variable to show if a conten is disliked

    Declaration

    Swift

    var contentDisliked: Bool
  • Undocumented

    Declaration

    Swift

    var refreshControl: UIRefreshControl

Methods

Delegate

View Lifecycle

  • Undocumented

    Declaration

    Swift

    override func awakeFromNib()
  • Undocumented

    Declaration

    Swift

    deinit