SWBroadcastDetailsViewController

class SWBroadcastDetailsViewController : SWBaseViewController, UITableViewDelegate, UITableViewDataSource

Undocumented

  • this bit has to be used by the recoded view controller or live room controller

    Declaration

    Swift

    weak var callerViewController: UIViewController?
  • Undocumented

    Declaration

    Swift

    var guestLoginBlockViewController: SWLoginPopupViewController?
  • Undocumented

    Declaration

    Swift

    @IBOutlet
    weak var showsView: UIView!
  • Undocumented

    Declaration

    Swift

    @IBOutlet
    weak var shoeNameLbl: UILabel!
  • Undocumented

    Declaration

    Swift

    @IBOutlet
    weak var showThumbnailImage: UIImageView!
  • Undocumented

    Declaration

    Swift

    @IBOutlet
    weak var showChannelLbl: UILabel!
  • References table

    Declaration

    Swift

    @IBOutlet
    weak var tableView: UITableView!
  • Undocumented

    Declaration

    Swift

    @IBOutlet
    weak var tableViewHeight: NSLayoutConstraint!
  • Undocumented

    Declaration

    Swift

    @IBOutlet
    weak var channelView: UIView!
  • Undocumented

    Declaration

    Swift

    @IBOutlet
    weak var shareBtn: UIButton!
  • Undocumented

    Declaration

    Swift

    @IBOutlet
    weak var bookMarkBtn: UIButton!
  • IBOutlet to UILabel to show formatted string of when broadcast started or LIVE.

    Declaration

    Swift

    @IBOutlet
    weak var startSinceLbl: UILabel!
  • Reference to back UIButton. Handler for tapping this button is within LiveViewController As it should scroll to Page0.

    Declaration

    Swift

    @IBOutlet
    weak var backBtn: UIButton!
  • IBOutlet to UILabel to show broadcast channel.

    Declaration

    Swift

    @IBOutlet
    weak var channelLbl: UILabel!
  • IBOutlet to UILabel to show broadcast title. This label has dynamic height for unlimited number of lines. However, broadcast title has a limitation.

    Declaration

    Swift

    @IBOutlet
    weak var titleLbl: ActiveLabel!
  • IBOutlet to UILabel to show broadcast time and location.

    Declaration

    Swift

    @IBOutlet
    weak var timeLocationLbl: UILabel!
  • UIView which contains all UI fields related to claps and views counts.

    Declaration

    Swift

    @IBOutlet
    weak var clapsAndViewsView: UIView!
  • NSLayoutConstraint of claps and views view height used to show and hide it.

    Declaration

    Swift

    @IBOutlet
    weak var clapsAndViewsViewHeightConstraint: NSLayoutConstraint!
  • Tappable UIView which constraint user info.

    Declaration

    Swift

    @IBOutlet
    weak var userDetailsView: UIView!
  • IBOutlet to UIImage to show user’s profile pic.

    Declaration

    Swift

    @IBOutlet
    weak var userPicIV: UIImageView!
  • IBOutlet to UILabel to show user’s full name.

    Declaration

    Swift

    @IBOutlet
    weak var userNameLbl: UILabel!
  • IBOutlet to UILabel to show user’s handler.

    Declaration

    Swift

    @IBOutlet
    weak var userHandlerLbl: UILabel!
  • IBOutlet to follow / unfollow UIButton.

    Declaration

    Swift

    @IBOutlet
    weak var followBtn: UIButton!
  • IBOutlet to unclickable UIButton to show number of claps for this broadcast.

    Declaration

    Swift

    @IBOutlet
    weak var clapsBtn: UIButton!
  • IBOutlet to unclickable UIButton to show number of views for this broadcast.

    Declaration

    Swift

    @IBOutlet
    weak var viewsBtn: UIButton!
  • Undocumented

    Declaration

    Swift

    @IBAction
    func shareAction(_ sender: Any)
  • Undocumented

    Declaration

    Swift

    @IBAction
    func bookMarkBtnClick(_ sender: Any)
  • Associated broadcast object.

    Declaration

    Swift

    @objc
    var broadcastData: BroadcastMetadata!
  • Handler for tapping profile pic. Should open profile view.

    Declaration

    Swift

    @objc
    func userPicClicked()
  • Undocumented

    Declaration

    Swift

    func presentOnParent(viewController: UIViewController, animated: Bool)
  • When close button at profile or channel view is clicked, just dismiss it.

    Declaration

    Swift

    @objc
    func closePresentedVCBtnClicked()
  • Update Claps and Views counts. This method should be invoked when clap or view occured or received to update UI.

    Declaration

    Swift

    func updateClapsAndViewsCounts()
  • Undocumented

    Declaration

    Swift

    func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat
  • Undocumented

    Declaration

    Swift

    func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int
  • Undocumented

    Declaration

    Swift

    func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell