ContentCell
class ContentCell : UITableViewCell
This is a Contentcell used to hold the content
-
This is a
UIImageViewwhich is used to display video Thumbnail.Declaration
Swift
@IBOutlet var videoThumbnail: UIImageView! -
This is a
UILabelwhich is used to display the video duration Time.Declaration
Swift
@IBOutlet var durationLabel: UILabel! -
This is a
UIImageViewwhich is used to display channel picture.Declaration
Swift
@IBOutlet var channelPic: UIImageView! -
This is a
UILabelwhich is used to display the video Label.Declaration
Swift
@IBOutlet var videoTitle: UILabel! -
This is a
UILabelwhich is used to display the video description.Declaration
Swift
@IBOutlet var videoDescription: UILabel! -
Content id ,defined by the backend
Declaration
Swift
var contentId: Int
-
Customise View
Declaration
Swift
func customisation() -
Set each properties of content into corresponding part of cell in UITableView
Declaration
Swift
func set(content: Content) -
ReportContent Operataion
Declaration
Swift
@objc func reportContent()
-
Prepares a reusable cell for reuse by the table view's delegate.
Declaration
Swift
override func prepareForReuse() -
Prepares the receiver for service after it has been loaded from an Interface Builder archive, or nib file. And load
customisationMethodDeclaration
Swift
override func awakeFromNib()
ContentCell Class Reference