Unresolved identifier 'amountOff'

func amountOff() -> Int {
abs(target - sliderValueRounded())
}

func alertTitle() -> String {
    let difference = amountOff()  (unresolved identifier 'amountOff')
    let title: String
    if difference == 0 {

Solved .. I had an out of order closing bracket, thank you

Terms of Service

Privacy Policy

Cookie Policy