Format code with SwiftFormat automatically in every build
This commit is contained in:
parent
f167ab7549
commit
7f9f0e43b2
100 changed files with 1124 additions and 1063 deletions
|
|
@ -10,7 +10,6 @@ import passKit
|
|||
import UIKit
|
||||
|
||||
class SliderTableViewCell: UITableViewCell {
|
||||
|
||||
@IBOutlet var titleLabel: UILabel!
|
||||
@IBOutlet var valueLabel: UILabel!
|
||||
@IBOutlet var slider: UISlider!
|
||||
|
|
@ -20,7 +19,8 @@ class SliderTableViewCell: UITableViewCell {
|
|||
|
||||
private var delegate: PasswordSettingSliderTableViewCellDelegate!
|
||||
|
||||
@IBAction func handleSliderValueChange(_ sender: UISlider) {
|
||||
@IBAction
|
||||
func handleSliderValueChange(_ sender: UISlider) {
|
||||
let newRoundedValue = Int(sender.value)
|
||||
// Proceed only if the rounded value gets updated.
|
||||
guard checker(newRoundedValue) else {
|
||||
|
|
@ -67,9 +67,8 @@ class SliderTableViewCell: UITableViewCell {
|
|||
}
|
||||
|
||||
extension SliderTableViewCell: ContentProvider {
|
||||
|
||||
func getContent() -> String? {
|
||||
return nil
|
||||
nil
|
||||
}
|
||||
|
||||
func setContent(content _: String?) {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue