Comments (3)
Hey @sudhamab ,
sorry for the late answer. Actually the code is already ported to Swift 4.2 as you can infer from the badges on the top of the readme. This means you cannot use it when compiling for Swift 4.1. The errors mean that the API I use is new in Swift 4.2 and not supported by Swift 4.1.
What you can do though is use an older version of the pod. Just change your entry for my pod in your podfile to the following:
pod 'SHSearchBar', '~> 1.4.3'
This should install the latest version < 1.5.0 (where I switched to Swift 4.2).
Tell me if this helped you :)
Bye
from shsearchbar.
thanks a lot Stefan! yes it compiles now. I can't wait to integrate it and will confirm if I am able to get it running as well.
from shsearchbar.
Glad I could help you. Reach out if you have any feature request :-)
from shsearchbar.
Related Issues (20)
- Can't Change Font HOT 1
- test if the default values of the config are as expected
- Project: Remove Config Object
- Convert Project to Swift 4
- Add tests for useCancelButton
- Search bar set as title view in iOS 11 HOT 12
- 'pod try SHSearchBar': build fails HOT 8
- Make `localized` internal to avoid namespace conflicts
- rtl support HOT 1
- Does not support storyboard HOT 1
- Fix config setting HOT 2
- SHSearchBar can be used in tableview HOT 2
- Search Bar height & remove separator HOT 5
- Enable Mosule Stability HOT 1
- 🚨Add to Package List HOT 1
- 🚨 Fix Testing for SPM Packages HOT 2
- please keep cocoapods HOT 2
- Add support for apple silicon simulators HOT 1
- Fix hosted docs for all repos
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shsearchbar.