SWBroadcastsListTableViewController
class SWBroadcastsListTableViewController : UITableViewController, UICollectionViewDataSource, UICollectionViewDelegate, UICollectionViewDelegateFlowLayout, SWShowListTableViewCellDelegate, SWBroadcastsTableViewCellDelegate, SWBroadcastCollectionViewCellDelegate
Undocumented
-
Undocumented
Declaration
Swift
var selectedLoginType: SignupOptions?
-
Undocumented
Declaration
Swift
private var screen: String?
-
Undocumented
Declaration
Swift
var broadcastListDelegate: SWBroadcastsListTableViewControllerDelegate?
-
Undocumented
Declaration
Swift
var component: SWDiscoveryComponent?
-
Undocumented
Declaration
Swift
var channel: InterestModel?
-
Undocumented
Declaration
Swift
var hashtag: KLHashtag?
-
Set this variable to scroll to the section which is loaded with api response of recorded broadcast
Declaration
Swift
var shouldScrollToBroadcast: Bool
-
Show or not Live and Upcoming broadcasts section.
Declaration
Swift
@IBInspectable var shouldShowLiveAndUpcoming: Bool
-
Undocumented
Declaration
Swift
var user: SWUser?
-
Show or not Categories section.
Declaration
Swift
@IBInspectable var shouldShowCategories: Bool
-
Show or not Broadcasts list (Recorded broadcasts) in card or list mode.
Declaration
Swift
@IBInspectable var shouldShowBroadcastsFeed: Bool
-
Undocumented
Declaration
Swift
var shouldShowBookmarked: Bool
-
Indicates if banners should be retrieved from back end and show.
Declaration
Swift
var shouldShowBanner: Bool
-
Indicates if banner for current view (Home, Discover, Profile) is available to be shown.
Declaration
Swift
var isBannerAvailable: Bool
-
Undocumented
Declaration
Swift
var shouldShowShows: Bool
-
Undocumented
Declaration
Swift
var currentPageNumberForShows: Int
-
Undocumented
Declaration
Swift
var lastShowFetched: Bool
-
Undocumented
Declaration
Swift
let bannerSectionIndex: Int
-
Undocumented
Declaration
Swift
let showsSectionIndex: Int
-
Undocumented
Declaration
Swift
let liveAndFeaturedSectionIndex: Int
-
Undocumented
Declaration
Swift
let channelsSectionIndex: Int
-
Undocumented
Declaration
Swift
let bookmarkedHeaderSectionIndex: Int
-
Undocumented
Declaration
Swift
let bookmarkedShowsSectionIndex: Int
-
Undocumented
Declaration
Swift
let bookmarkedBroadcastsSectionIndex: Int
-
Undocumented
Declaration
Swift
let feedHeaderSectionIndex: Int
-
Undocumented
Declaration
Swift
let feedSectionIndex: 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 upcomingCell: SWUpcomingLiveTableViewCell?
-
This reference to hold table cell for Categories section to prevent dequeuing it. Prevent dequeuing is required to maintain better experience and performance as only one instance of this cell is required.
Declaration
Swift
var categoriesCell: SWCategoriesTableViewCell?
-
Undocumented
Declaration
Swift
var bannerCell: SWBannerTableViewCell?
-
Undocumented
Declaration
Swift
var scrollingBannerCell: SWBannerScrollingTableViewCell?
-
Undocumented
Declaration
Swift
weak var delegatedTableView: UITableView?
-
Undocumented
Declaration
Swift
var delegatedSectionIndex: Int
-
HttpService used to follow / unfollow associated user. This reference is always nil unless there is an active follow / unfollow HTTP call.
Declaration
Swift
var httpServiceFollow: HttpService?
-
This reference to hold table cell for Feed Header to prevent dequeuing it. Prevent dequeuing is required as only once instance of this cell is required.
Declaration
Swift
var feedHeaderCell: SWFeedHeaderTableViewCell?
-
Undocumented
Declaration
Swift
var featuredStreams: [SWStream]
-
Undocumented
Declaration
Swift
var totalUserBroadcasts: Int
-
Undocumented
Declaration
Swift
var bookmarkedShows: [SWShowModel]
-
Undocumented
Declaration
Swift
var bookmarkedBroadcasts: [SWStream]
-
Undocumented
Declaration
Swift
var didLoadLastBookmarkedShow: Bool
-
Undocumented
Declaration
Swift
var didloadLastBookmarkedBroadcast: Bool
-
Array of Live broadcasts.
Declaration
Swift
var liveStreams: [SWStream]
-
Undocumented
Declaration
Swift
var dataDidLoad: Bool
-
Undocumented
Declaration
Swift
var didLoadLastFeaturedStream: Bool
-
Indicates if all live stream are loaded. Used for pagination.
Declaration
Swift
var didLoadLastLiveStream: Bool
-
Undocumented
Declaration
Swift
var cardMode: Bool
-
this variable is used to keep the stream when the user is halted for actions like live on live or recored on live
Declaration
Swift
var storedStream: SWStream?
-
Undocumented
Declaration
Swift
var isAppseeDelegateAssigned: Bool
-
user shows List Model
Declaration
Swift
var showItemListModel: SWShowItemListModel
-
Array of Upcoming broadcasts.
Declaration
Swift
var upcomingStreams: [SWStream]
-
Undocumented
Declaration
Swift
var filteredChannels: [InterestModel]
-
Undocumented
Declaration
Swift
let filterArray: [String]
-
Undocumented
Declaration
Swift
var isViewAll: Bool
-
Undocumented
Declaration
Swift
var isLivefeatureBookmark: Bool
-
Undocumented
Declaration
Swift
var disableDataLoading: Bool
-
Undocumented
Declaration
Swift
var loadFirstBroadcastsPageOnly: Bool
-
Undocumented
Declaration
Swift
var screenName: String
-
Undocumented
Declaration
Swift
var isChannel: Bool
-
Undocumented
Declaration
Swift
@objc func channelSubscriptionChangeHandler()
-
Undocumented
Declaration
Swift
var refresher: UIRefreshControl
-
Undocumented
Declaration
Swift
var canRefresh: Bool
-
Undocumented
Declaration
Swift
var pulledToRefresh: Bool
-
Undocumented
Declaration
Swift
@IBAction func discoverPeopleBtnClicked(_ sender: Any)
-
Indicates if all upcoming stream are loaded. Used for pagination.
Declaration
Swift
var didLoadLastUpcomingStream: Bool
-
Undocumented
Declaration
Swift
var sortOptions: [String]
-
Undocumented
Declaration
Swift
var sortingOptions: [String]
-
Undocumented
Declaration
Swift
static let sortingOptionDiscoveryPersistentKey: String
-
Undocumented
Declaration
Swift
static let sortingOptionHomePersistentKey: String
-
Array of broadcasts list (or grid).
Declaration
Swift
var feedStreams: [SWStream]
-
Indicates if all recorded stream are loaded. Used for pagination.
Declaration
Swift
var didLoadLastRecordedStream: Bool
-
Undocumented
Declaration
Swift
var sortOption: String
-
Undocumented
Declaration
Swift
var isFeedPersonalized: Bool
-
Undocumented
Declaration
Swift
var sortingOption: String
-
Undocumented
Declaration
Swift
var isDisplayedOnChannel: Bool
-
HttpService used to load feeds streams. It’s value should be nil as long as there is not active once.
Declaration
Swift
var feedHttpService: HttpService?
-
Undocumented
Declaration
Swift
@IBAction func liveBroadcastBookmarkBtnClicked(_ sender: UIButton)
-
Undocumented
Declaration
Swift
@IBAction func liveBroadcastShareBtnClicked(_ sender: UIButton)
-
Undocumented
Declaration
Swift
@IBAction func liveBroadcastHandlerClicked(_ sender: UIButton)
-
<#Description#>
Declaration
Swift
@objc func feedBroadcastClicked(gesture: UITapGestureRecognizer)
Parameters
gesture
<#gesture description#>
-
<#Description#>
Declaration
Swift
@IBAction func feedBroadcastChannelBtnClicked(_ sender: UIButton)
Parameters
sender
<#sender description#>
-
Undocumented
Declaration
Swift
var showDiscoverPeople: Bool
-
this bit to be set for only home feed as to show the login options
Declaration
Swift
var showLoginOptions: Bool
-
<#Description#>
Declaration
Swift
@IBAction func feedBroadcastBookmarkBtnClicked(_ sender: UIButton)
Parameters
sender
<#sender description#>
-
<#Description#>
Declaration
Swift
func bannerClicked(banner: SWBanner)
Parameters
banner
<#banner description#>
-
Undocumented
Declaration
Swift
func bookmarkBtnClickedFor(stream: SWStream, sender: UIButton)
-
Undocumented
Declaration
Swift
func openChannel(channel: InterestModel)
-
Undocumented
Declaration
Swift
@IBAction func feedBroadcastShareBtnClicked(_ sender: UIButton)
-
<#Description#>
Declaration
Swift
@objc func feedBroadcastUserInfoViewClicked(recognizer: UITapGestureRecognizer)
Parameters
recognizer
<#recognizer description#>
-
<#Description#>
Declaration
Swift
@IBAction func feedBroadcastFollowBtnClicked(_ sender: UIButton)
Parameters
sender
<#sender description#>
-
Undocumented
Declaration
Swift
func shareBroadcast(stream: SWStream)
-
Undocumented
Declaration
Swift
@IBAction func feedBroadcastHandlerClicked(_ sender: UIButton)
-
Undocumented
Declaration
Swift
func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize
-
Undocumented
Declaration
Swift
func openProfileFor(user: SWUser)
-
Undocumented
Declaration
Swift
@IBAction func viewModeBtnClicked(_ sender: Any)
-
Undocumented
Declaration
Swift
@IBAction func sortBtnClicked(_ sender: Any)
-
Undocumented
Declaration
Swift
func getActionName(forIndex index: Int) -> ActionName?
-
Load next feed broadcasts page.
Declaration
Swift
func loadNextFeedBroadcastsPage()
-
Undocumented
Declaration
Swift
override func numberOfSections(in tableView: UITableView) -> Int
-
Undocumented
Declaration
Swift
override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int
-
Undocumented
Declaration
Swift
override func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat
-
Undocumented
Declaration
Swift
override func tableView(_ tableView: UITableView, estimatedHeightForRowAt indexPath: IndexPath) -> CGFloat
-
Undocumented
Declaration
Swift
override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell
-
Undocumented
Declaration
Swift
func updateImageViewCellOffset(_ cell: SWFeedListTableViewCell)
-
Undocumented
Declaration
Swift
override func scrollViewDidEndDecelerating(_ scrollView: UIScrollView)
-
Undocumented
Declaration
Swift
override func scrollViewDidScroll(_ scrollView: UIScrollView)
-
Undocumented
Declaration
Swift
override func tableView(_ tableView: UITableView, willDisplay cell: UITableViewCell, forRowAt indexPath: IndexPath)
-
Undocumented
Declaration
Swift
func trackOpenRecordedVideo(stream: SWStream)
-
Undocumented
Declaration
Swift
func loadRecordedVideo(stream: SWStream)
-
Undocumented
Declaration
Swift
override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath)
-
Undocumented
Declaration
Swift
func showGoLiveScheduleVC(streamData: SWStream)
-
Undocumented
Declaration
Swift
func loadLiveVideo(stream: SWStream)
-
Undocumented
Declaration
Swift
func trackOpenLiveVideo(stream: SWStream?)
-
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#>
-
Undocumented
Declaration
Swift
@objc func refreshData()
-
Undocumented
Declaration
Swift
override func viewDidLoad()
-
Undocumented
Declaration
Swift
@objc func dataDidUpdate()
-
Undocumented
Declaration
Swift
func loadBookmarkedShows()
-
Undocumented
Declaration
Swift
func loadData()
-
Undocumented
Declaration
Swift
func loadBookmarkedBroadcasts()
-
Undocumented
Declaration
Swift
func fetchShows()
-
Undocumented
Declaration
Swift
func fetchMoreShows()
-
Undocumented
Declaration
Swift
override func viewWillAppear(_ animated: Bool)
-
Undocumented
Declaration
Swift
override func viewDidAppear(_ animated: Bool)
-
Undocumented
Declaration
Swift
override func didReceiveMemoryWarning()
-
Undocumented
Declaration
Swift
func getAppseeScreenName() -> String
-
Undocumented
Declaration
Swift
override func viewDidDisappear(_ animated: Bool)
-
Undocumented
Declaration
Swift
@IBAction func viewAllbtnClick(_ sender: Any)
-
Undocumented
Declaration
Swift
@IBAction func moreOptionBtnClick(_ sender: UIButton)
-
Undocumented
Declaration
Swift
func updateScreenName(_ screenName: String)
-
Undocumented
Declaration
Swift
func trackAction(actionName: ActionName,areaName:AreaName? = nil)
-
Undocumented
Declaration
Swift
func loginPrompt()
-
Undocumented
Declaration
Swift
func showSelected(show: SWShowModel)
-
Undocumented
Declaration
Swift
func showMoreActionBtnTapped(show: SWShowModel)
-
Undocumented
Declaration
Swift
func channelActionBtnTapped(show: SWShowModel)
-
Undocumented
Declaration
Swift
func bookmarkBtnClickedFor(show: SWShowModel)
-
Undocumented
Declaration
Swift
func loadMoreData(component: SWDiscoveryComponent)
-
Undocumented
Declaration
Swift
func loadMoreBookmarkedBroadcasts()
-
Undocumented
Declaration
Swift
func loadMoreBookmarkedShows()
-
Undocumented
Declaration
Swift
func handleClicked(cell: SWBroadcastCollectionViewCell, broadcast: SWComponentBroadcast?)
-
Undocumented
Declaration
Swift
func optionsClicked(cell: SWBroadcastCollectionViewCell, broadcast: SWComponentBroadcast?)
-
Undocumented
Declaration
Swift
func commentsClicked(cell: SWBroadcastCollectionViewCell, broadcast: SWComponentBroadcast?)
-
Undocumented
Declaration
Swift
func handleClicked(cell: SWBroadcastCollectionViewCell, broadcast: SWComponentBroadcast?, component: SWDiscoveryComponent?)
-
Undocumented
Declaration
Swift
func optionsClicked(cell: SWBroadcastCollectionViewCell, broadcast: SWComponentBroadcast?, component: SWDiscoveryComponent?)
-
Undocumented
Declaration
Swift
func commentsClicked(cell: SWBroadcastCollectionViewCell, broadcast: SWComponentBroadcast?, component: SWDiscoveryComponent?)
-
Undocumented
Declaration
Swift
func headerBtnClicked(cell: SWBroadcastsTableViewCell, component: SWDiscoveryComponent)
-
Undocumented
Declaration
Swift
func didSelectBroadcast(cell: SWBroadcastsTableViewCell?, broadcast: SWComponentBroadcast, component: SWDiscoveryComponent?)
-
Undocumented
Declaration
Swift
func startAnimating()
-
Undocumented
Declaration
Swift
func stopAnimating()
-
Undocumented
Declaration
Swift
func socialLoginParentViewController() -> UIViewController
-
Undocumented
Declaration
Swift
func socilaLoginFailed(_ error: String)
-
Undocumented
Declaration
Swift
func socialLoginSucceded(_ user: SWUser)
-
Undocumented
Declaration
Swift
func loginTypeSelected(_ type: SignupOptions)
-
Undocumented
Declaration
Swift
fileprivate func navigateToHome()
-
Undocumented
Declaration
Swift
func navigateToProfile()
-
Undocumented
Declaration
Swift
func loginSuccessful()
-
Undocumented
Declaration
Swift
func commentsViewButtonTapped(forFeedIndex feedIndex: Int)
-
Undocumented
Declaration
Swift
func navigateToComments(withStream stream: SWStream)