EFPrefix/EFCountingLabel

Value of type 'EFCountingLabel' has no member 'format'

ciumexan opened this issue · 1 comments

Issue Description

Value of type 'EFCountingLabel' has no member 'format'

Description

upgraded to 5.1.1

Reproduce

Screenshot 2019-11-17 at 15 28 08

Other Comment

Upgraded from EFCountingLabel (5.0.0) to EFCountingLabel (5.1.1)

@ciumexan

You need to use setUpdateBlock instead, for example:

myLabel.setUpdateBlock { value, label in
    label.text = String(format: "%.2f%%", value)
}