mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-24 21:33:09 +09:00
29 lines
970 B
Swift
29 lines
970 B
Swift
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
import UIKit
|
|
|
|
class SeparatorTableCell: UITableViewCell {
|
|
override var textLabel: UILabel? {
|
|
return nil
|
|
}
|
|
|
|
override var detailTextLabel: UILabel? {
|
|
return nil
|
|
}
|
|
|
|
override init(style: UITableViewCellStyle, reuseIdentifier: String?) {
|
|
super.init(style: style, reuseIdentifier: reuseIdentifier)
|
|
|
|
self.selectionStyle = UITableViewCellSelectionStyle.none
|
|
self.indentationWidth = 0
|
|
self.separatorInset = UIEdgeInsets.zero
|
|
self.layoutMargins = UIEdgeInsets.zero
|
|
self.backgroundColor = UIConstants.PanelBackgroundColor // So we get a gentle white and grey stripe.
|
|
}
|
|
|
|
required init?(coder aDecoder: NSCoder) {
|
|
fatalError("init(coder:) has not been implemented")
|
|
}
|
|
}
|