Comments (5)
I have other question, What string i need to put in color("") function to set UIColor.clear like color("white") , color("red")
from cupcake.
- Thank you for your suggestion, I will think about it.
For now, you simply use the normal way to set shadow color. - Use color("clear"), or color(UIColor.clear) if you like.
Any convenience methods of UIColor (like darkGary, cyan, clear, etc) can be set as string.
from cupcake.
Thank you for you quick response.
color("clear") doesn't work, it give me black background
from cupcake.
Fixed that, also shadow color has been added. Happy coding ^^
from cupcake.
Thank you very much 👍
from cupcake.
Related Issues (17)
- Can you create Color() public? HOT 1
- Swift 4 Support. HOT 1
- Update constraint added in storyboard HOT 3
- Safe Area vs Top Layout Guide HOT 1
- HStack Fill equally HOT 1
- UIBarButtonItem no onclick ? HOT 6
- Compiling as Swift 4.2, with 'Cupcake' built as Swift 4.1.50 "Xcode 10" HOT 2
- How to solve flicker? HOT 4
- Value of type 'UILabel' has no member 'pin' HOT 3
- Xcode 10.2 support HOT 1
- UITextView causes NSZomebie when deallocating.
- 感觉好多属性没有oc版的多
- Support rtl
- xcode 11
- Failed to build with Carthage
- TextView hint 属性报错
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 cupcake.