DownloadTrackerCell
open class DownloadTrackerCell: UITableViewCell
DownloadTrackerCell is the default UITableViewCell used in DownloadListController. Its style is
.subtitle.

It adds three subviews:
- a UILabel to display download speed;
- a UIProgressView to display download progress;
- a UIButton to pause/resume download.
These three views are customizable in DownloadListController:
allowsTrackingSpeed: determine whether to display speed.allowsTrackingProgress: determine whether to display download progress bar.cellAccessoryButtonStyle: custom button appearance and action method.
For any type UITableViewCell in DownloadListController, their imageView and textLabel are
customziable:
cellImageViewStyle: display an icon, or index, or none.isFileNamePriorThanURL: display file name or its download URL.
-
A UILabel to display download speed.
Declaration
Swift
public var speedLabel: UILabel? -
A UIProgressView to display download progress.
Declaration
Swift
public var progressView: UIProgressView? -
A UIButton to be contentView’s accessortView.
Declaration
Swift
public private(set) var accessoryButton: UIButton? -
Init from storyboard/nib file. You should set its style to
.subtitlein the storyboard/nib file.Declaration
Swift
required public init?(coder aDecoder: NSCoder) -
Change subview backgroundColor to cell backgroundColor
Declaration
Swift
override open func didMoveToSuperview()
View on GitHub
Install in Dash
DownloadTrackerCell Class Reference