Fixed a rare index out of bounds crash that occurs when the results come from an async call Review: this commit
ran SwiftLint + swift format on the code
cleaned up MOST SwiftLint complaints and force unwrapped optionals.
Theres a few SwiftLint issues remaining (mainly file length, method lengths warnings)
added the Xcode build folder to the gitignore
added a dummy test case and conditional import for iOS to get the swift package to build.
SwiftLint and Swift format can be run as follows:
swift run swiftlintswift run swiftformat . --swiftversion 5.2
If you would like to use SPM in the example project
run pod deintegrate SearchTextField
open the example project in xcode
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 :
add a version tag to this commit once it is merged.
in the example project, convert it to use the swift package if desired (see above)
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
pod deintegrate SearchTextField
Things left to do by @apasccon :