【文件属性】:
文件名称:BrandColors:超过100种品牌颜色的UIColor类别
文件大小:3.32MB
文件格式:ZIP
更新时间:2021-04-29 13:12:16
Objective-C
品牌色彩
超过100种品牌颜色的UIColor类别
安装
手动的
将BrandColors文件夹中的文件添加到您的项目。
#import "UIColor+BrandColors.h"
platform :ios, '7.0'
pod 'BrandColors'
用法
物镜
UIButton *facebookButton = [[UIButton alloc ] init ];
facebookButton.backgroundColor = [UIColor bc_colorForBrand: @" Facebook " ];
NSLog ( @" BrandColors contains %@ brands: %@ " , @([UIColor bc_brands ].count),[UIColor bc_brands ]);
if ([[UIColor bc_brandsWith
【文件预览】:
BrandColors-master
----Assets()
--------screenshot.png(564KB)
--------screenshot-large.png(2.75MB)
----.gitignore(237B)
----BrandColors()
--------UIColor+BrandColors.h(1KB)
--------UIColor+BrandColors.m(11KB)
----Demo-Swift()
--------Demo-Swift()
--------Demo-SwiftTests()
--------Demo-Swift.xcodeproj()
----Demo-ObjC()
--------Demo.xcodeproj()
--------DemoTests()
--------Demo()
----.travis.yml(111B)
----LICENSE(1KB)
----BrandColors.podspec(672B)
----README.md(5KB)