apasccon / SearchTextField

UITextField subclass with autocompletion suggestions list
MIT License
1.15k stars 253 forks source link

Swift Package Manager Support + linting. #187

Closed BrentMifsud closed 4 years ago

BrentMifsud commented 4 years ago

SwiftLint and Swift format can be run as follows: swift run swiftlint swift run swiftformat . --swiftversion 5.2

If you would like to use SPM in the example project

  1. run pod deintegrate SearchTextField
  2. open the example project in xcode
  3. in Xcode drag and drop the SearchTextField directory into the example project. OR go to file -> swift packages -> add swift package -> enter the git clone url + branch

Things left to do by @apasccon :

  1. add a version tag to this commit once it is merged.
  2. in the example project, convert it to use the swift package if desired (see above)