SWShowCreationViewController
class SWShowCreationViewController : BaseViewController, UITableViewDelegate, UITableViewDataSource, UICollectionViewDataSource, UICollectionViewDelegate, UICollectionViewDelegateFlowLayout, UIImagePickerControllerDelegate, UINavigationControllerDelegate, RSKImageCropViewControllerDelegate, UITextViewDelegate, UITextFieldDelegate
Undocumented
-
Undocumented
Declaration
Swift
@IBOutlet weak var tableView: UITableView!
-
Undocumented
Declaration
Swift
@objc static let TITLE_CHAR_LIMIT: Int
-
Undocumented
Declaration
Swift
@objc static let DESCRIBTION_CHAR_LIMIT: Int
-
Undocumented
Declaration
Swift
var saveNavBtn: UIBarButtonItem!
-
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: SWShowsCategoriesTableViewCell?
-
Undocumented
Declaration
Swift
var describtionCell: SWShowDescribtionTableViewCell?
-
to distinguish wither thumbnail picker is open or Banner
Declaration
Swift
var isThumbnailImagePicker: Bool?
-
Thumbnail image pickers
Declaration
Swift
var thumbnailImagePickerController: UIImagePickerController
-
Banner image pickers
Declaration
Swift
var bannerImagePickerController: UIImagePickerController
-
show model Object
Declaration
Swift
var showModel: SWShowItemModel
-
bool to indicate if it is creation screen or edit show screen
Declaration
Swift
var isCreationScreen: Bool
-
Undocumented
Declaration
Swift
var shouldHideNavBarOnPoping: Bool
-
Undocumented
Declaration
Swift
var showsLandingPage: SWShowsLandingViewController
-
Undocumented
Declaration
Swift
var selectedChannelIndex: Int
-
Undocumented
Declaration
Swift
var filteredChannels: [InterestModel]
-
Undocumented
Declaration
Swift
let filterArray: [String]
-
Undocumented
Declaration
Swift
override func viewDidLoad()
-
Undocumented
Declaration
Swift
override func viewWillAppear(_ animated: Bool)
-
Undocumented
Declaration
Swift
override func viewWillDisappear(_ animated: Bool)
-
Undocumented
Declaration
Swift
fileprivate func showAlert(_ title: String, message: String)
-
Undocumented
Declaration
Swift
@objc func channelSubscriptionChangeHandler()
-
Undocumented
Declaration
Swift
func validateToShowSaveButton()
-
Undocumented
Declaration
Swift
@objc func saveNavBtnClicked()
-
Handler for navigation bar back button.
Declaration
Swift
@IBAction func backBtnClicked(_ sender: Any)
Parameters
sender
<#sender description#>
-
Undocumented
Declaration
Swift
@IBAction func updateBannerImageBtnClicked(_ sender: Any)
-
Undocumented
Declaration
Swift
@IBAction func updateThumbnailImageBtnClicked(_ sender: Any)
-
Undocumented
Declaration
Swift
func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [String : Any])
-
Undocumented
Declaration
Swift
func imageCropViewControllerDidCancelCrop(_ controller: RSKImageCropViewController)
-
Undocumented
Declaration
Swift
func imageCropViewController(_ controller: RSKImageCropViewController, didCropImage croppedImage: UIImage, usingCropRect cropRect: CGRect)
-
Undocumented
Declaration
Swift
func imageCropViewController(_ controller: RSKImageCropViewController, didCropImage croppedImage: UIImage, usingCropRect cropRect: CGRect, rotationAngle: CGFloat)
-
Undocumented
Declaration
Swift
func numberOfSections(in tableView: UITableView) -> Int
-
Undocumented
Declaration
Swift
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int
-
Undocumented
Declaration
Swift
func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat
-
Undocumented
Declaration
Swift
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell
-
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
func textFieldShouldReturn(_ textField: UITextField) -> Bool
-
Undocumented
Declaration
Swift
override func textFieldDidEndEditing(_ textField: UITextField)
-
Undocumented
Declaration
Swift
@objc func textFieldDidChange(_ textField: UITextField)
-
Undocumented
Declaration
Swift
func textField(_ textField: UITextField, shouldChangeCharactersIn range: NSRange, replacementString string: String) -> Bool
-
Undocumented
Declaration
Swift
override func textViewDidEndEditing(_ textView: UITextView)
-
Undocumented
Declaration
Swift
func textViewDidChange(_ textView: UITextView)
-
Undocumented
Declaration
Swift
func textView(_ textView: UITextView, shouldChangeTextIn range: NSRange, replacementText text: String) -> Bool