SWInboxViewController

class SWInboxViewController : SWBaseViewController, UICollectionViewDelegate, UICollectionViewDataSource, UITableViewDataSource, UITableViewDelegate, UINavigationControllerDelegate

Undocumented

  • Undocumented

    Declaration

    Swift

    private let showsCollectionViewTag: Int
  • Array of bookmark broadcasts.

    Declaration

    Swift

    var bookmarkStreams: [SWStream]
  • Bookmarked Shows Model

    Declaration

    Swift

    var showItemListModel: SWShowItemListModel?
  • Undocumented

    Declaration

    Swift

    var notificationList: KLNotificationList
  • Array of broadcasts he is a paticibant in.

    Declaration

    Swift

    var joinNowStreams: [SWStream]
  • Array of Last 5 notifications.

    Declaration

    Swift

    var recentNotifications: [KLNotificationModel]
  • To indicate Bookmarks Page Index

    Declaration

    Swift

    var bookmarkPageIndex: Int
  • Current page number for fetching bookmarked Shows

    Declaration

    Swift

    var currentPage: Int
  • This reference to hold table cell for Upcoming and Live broadcast section to prevent dequeuing it. Prevent dequeuing is required to maintain scrolling and loaded data.

    Declaration

    Swift

    var bookmarksCell: SWInboxBookmarksTableViewCell?
  • Undocumented

    Declaration

    Swift

    var refresher: UIRefreshControl
  • Undocumented

    Declaration

    Swift

    @IBOutlet
    weak var tableView: UITableView!
  • Undocumented

    Declaration

    Swift

    override func viewDidLoad()
  • Undocumented

    Declaration

    Swift

    override func viewWillAppear(_ animated: Bool)
  • Undocumented

    Declaration

    Swift

    func navigationController(_ navigationController: UINavigationController, willShow viewController: UIViewController, animated: Bool)
  • Undocumented

    Declaration

    Swift

    override func viewDidAppear(_ animated: Bool)
  • Undocumented

    Declaration

    Swift

    override func viewDidDisappear(_ animated: Bool)
  • Undocumented

    Declaration

    Swift

    @objc
    func refreshData()
  • Undocumented

    Declaration

    Swift

    func loadMore()
  • this method is to load server data from 3 defferent APIs bookmarks ,userActivity and…..

    Declaration

    Swift

    func loadData()
  • Undocumented

    Declaration

    Swift

    func numberOfSections(in collectionView: UICollectionView) -> Int
  • Returns number of Upcoming and Live broadcasts or number of categories.

    Declaration

    Swift

    func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int

    Parameters

    collectionView

    <#collectionView description#>

    section

    <#section description#>

    Return Value

    <#return value description#>

  • Prepare Upcoming/Live broadcast collection view and Categories collection view.

    Declaration

    Swift

    func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell

    Parameters

    collectionView

    <#collectionView description#>

    indexPath

    <#indexPath description#>

    Return Value

    <#return value description#>

  • Handler for tapping a broadcast or a category.

    Declaration

    Swift

    func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath)

    Parameters

    collectionView

    <#collectionView description#>

    indexPath

    <#indexPath description#>