"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

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

Expected declarations

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?