ElaWorkshop / TagListView

Simple and highly customizable iOS tag list view, in Swift.
MIT License
2.64k stars 492 forks source link

compile error #208

Open foolbear opened 6 years ago

foolbear commented 6 years ago

/Users/foolbear/Jobs/Dictation/Pods/TagListView/TagListView/TagView.swift:165:30: error: 'UIControlState' has been renamed to 'UIControl.State' setTitle(title, for: UIControlState()) ^~~~~~~~~~~~~~ UIControl.State UIKit.UIControlState:2:18: note: 'UIControlState' was obsoleted in Swift 4.2 public typealias UIControlState = UIControl.State ^ /Users/foolbear/Jobs/Dictation/Pods/TagListView/TagListView/TagView.swift:188:60: error: 'NSAttributedStringKey' has been renamed to 'NSAttributedString.Key' var size = titleLabel?.text?.size(withAttributes: [NSAttributedStringKey.font: textFont]) ?? CGSize.zero ^~~~~~~~~~~~~~~~~~~~~ NSAttributedString.Key Foundation.NSAttributedStringKey:2:18: note: 'NSAttributedStringKey' was obsoleted in Swift 4.2 public typealias NSAttributedStringKey = NSAttributedString.Key