Dinesh Kumar Dinesh Kumar - 11 months ago 66
iOS Question

"CL Typing Label " library error in swift

I have added the file "CLTypingLabel.swift" from folder CLTypingLabel-master -> Pod -> Classes -> CLTypingLabel.swift to my xcode project taken from https://github.com/l800891/CLTypingLabel
and when I build the project there shows 38 errors....

Some errors are

  1. Consecutive declarations on a line must be seperated by ';'

  2. Expected declarations

  3. Use of unresolved identifiers 'DispatchQueue'

How should I rectify it or Is there any easy label library to animate as message typing while displaying the label?

Answer Source

Could it be, that you are trying to use a Swift 3.0 library in a Swift 2.x project?