jyhu / chameleon Goto Github PK View Code? Open in Web Editor NEW 29.0 29.0 6.0 1.76 MB A skin-changing (theme) framework for iOS/macOS that supports dynamic skin changing and custom attributes, and also supports non-invasive skin changing (swizzling). License: MIT License Swift 99.76% Ruby 0.24% Introduction · People · Discuss
针对Button,如果在同一主题下面,Button有多个背景颜色,如何设计? 仔细看了作者写的文章,写得很好,不知道对于同一主题下面同一个抽象控件(比如UIButton)有多个背景颜色,及在不同背景颜色下面有不同的字体大小和字体颜色,该如何设计,才能让使用者做到见名知义了? 思考: 想过参考UIButton的构造方法中枚举一样(UIButtonTypeCustom和UIButtonTypeSystem等)在Button这个json文件下面设置对应的key和value,但是如果在同一个主题下面button超过3种以上的不同背景颜色,使用者可能需要通过看注释说明,如果在添加一个新的主题,json文件中的颜色值对应关系也不好确定。
Vue.js 🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
javascript JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Machine learning Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Facebook We are working to build community through open source technology. NB: members must have two-factor auth.