Unresolved Identifier

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

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

Solved it thank you ( simply had brackets in wrong position)

@flmcl Glad you sorted it out! Cheers! :]

1 Like