Comments (5)
It seems that Material uses extensions to UIKit classes, which unfortunately redefines a lot of default UIView properties.
In your particular case it's borderWidth property is redefined in
https://github.com/CosmicMind/Material/blob/master/Sources/iOS/Material%2BUIView.swift#L258
So, if you wish to continue to use both libraries in one project, the only solution to your problem
would be not to import Material to the same scope as CHIPageControl.
Also, i should notice that, while Material seems to provide a lot of functionality, the design of it's extensions to UIKit classes might lead to problem with a lot of different third party libraries.
from chipagecontrol.
I created another file without "import Material" still getting the same error.
If I find another solution I'll get back here, for now I'll just work without the borderWidth.
Thanks for the help, @mihailstumkins.
from chipagecontrol.
@leosimas Is there any solution for that you did find?
from chipagecontrol.
@barankaansert , not a good one. :(
I added the code into the project and made some changes.
from chipagecontrol.
this is still relevant
from chipagecontrol.
Related Issues (20)
- Swift 5 support
- Its not working when number of pages are maximus like 30 - 40 HOT 3
- How to increase size of touch area of each dot? HOT 1
- Problem to set current page HOT 1
- Conform to protocol 'CHIBasePageControlDelegate'
- -pie being ignored.
- Circular page control
- Set tint color with opacity
- Delegate (touch event) is not working
- Implementing CHIPageControl through xib crashes the App
- Support for creating custom control using CHIBasePageControl
- SPM support please
- how can i dicrease dots spacing HOT 1
- SPM Support Not Working HOT 7
- enableTouchEvent
- How to increase size of dot and height and width of horizontal line HOT 1
- Page Control does not adopt RTL mode.
- Modify currentPage width in CHIPageControlJaloro
- Privacy Manifest HOT 1
- [Crash] CHIPageControlPuya HOT 1
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 chipagecontrol.