Skip to content

Commit

Permalink
remove unnecessary code lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Barreto committed May 25, 2016
1 parent 1396657 commit 0fd33dd
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion Source/Rows/Common/DateFieldRow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ public class DateCell : Cell<NSDate>, CellType {

public required init(style: UITableViewCellStyle, reuseIdentifier: String?) {
super.init(style: style, reuseIdentifier: reuseIdentifier)
height = { UITableViewAutomaticDimension }
}

public override func setup() {
Expand Down
1 change: 0 additions & 1 deletion Source/Rows/Common/DateInlineFieldRow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ public class DateInlineCell : Cell<NSDate>, CellType {

public required init(style: UITableViewCellStyle, reuseIdentifier: String?) {
super.init(style: style, reuseIdentifier: reuseIdentifier)
height = { UITableViewAutomaticDimension }
}

public override func setup() {
Expand Down
1 change: 0 additions & 1 deletion Source/Rows/Common/SelectorRow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ public class PushSelectorCell<T: Equatable> : Cell<T>, CellType {

required public init(style: UITableViewCellStyle, reuseIdentifier: String?) {
super.init(style: style, reuseIdentifier: reuseIdentifier)
height = { UITableViewAutomaticDimension }
}

public override func update() {
Expand Down
1 change: 0 additions & 1 deletion Source/Rows/DatePickerRow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ public class DatePickerCell : Cell<NSDate>, CellType {

public override func setup() {
super.setup()
height = { UITableViewAutomaticDimension }
accessoryType = .None
editingAccessoryType = .None
datePicker.datePickerMode = datePickerMode()
Expand Down
1 change: 0 additions & 1 deletion Source/Rows/LabelRow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ public class LabelCellOf<T: Equatable>: Cell<T>, CellType {

required public init(style: UITableViewCellStyle, reuseIdentifier: String?) {
super.init(style: style, reuseIdentifier: reuseIdentifier)
height = { UITableViewAutomaticDimension }
}

public override func setup() {
Expand Down
1 change: 0 additions & 1 deletion Source/Rows/PickerInlineRow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ public class PickerInlineCell<T: Equatable> : Cell<T>, CellType {

required public init(style: UITableViewCellStyle, reuseIdentifier: String?) {
super.init(style: style, reuseIdentifier: reuseIdentifier)
height = { UITableViewAutomaticDimension }
}

public override func setup() {
Expand Down
1 change: 0 additions & 1 deletion Source/Rows/PickerRow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ public class PickerCell<T where T: Equatable> : Cell<T>, CellType, UIPickerViewD

public override func setup() {
super.setup()
height = { UITableViewAutomaticDimension }
accessoryType = .None
editingAccessoryType = .None
picker.delegate = self
Expand Down
1 change: 0 additions & 1 deletion Source/Rows/SliderRow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ public class SliderCell: Cell<Float>, CellType {

public override func setup() {
super.setup()
height = { UITableViewAutomaticDimension }
selectionStyle = .None
slider.minimumValue = sliderRow.minimumValue
slider.maximumValue = sliderRow.maximumValue
Expand Down
1 change: 0 additions & 1 deletion Source/Rows/SwitchRow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ public class SwitchCell : Cell<Bool>, CellType {

required public init(style: UITableViewCellStyle, reuseIdentifier: String?) {
super.init(style: style, reuseIdentifier: reuseIdentifier)
height = { UITableViewAutomaticDimension }
}

public var switchControl: UISwitch? {
Expand Down

0 comments on commit 0fd33dd

Please sign in to comment.