#import <UIKit/UIKit.h>
#define SUPPORTS_UNDOCUMENTED_API 0
@interface UIColor (UIColor_Expanded)
@property (nonatomic, readonly) CGColorSpaceModel colorSpaceModel;
@property (nonatomic, readonly) BOOL canProvideRGBComponents;
@property (nonatomic, readonly) CGFloat red; // Only valid if canProvideRGBComponents is YES
@property (nonatomic, readonly) CGFloat green; // Only valid if canProvideRGBComponents is YES
@property (nonatomic, readonly) CGFloat blue; // Only valid if canProvideRGBComponents is YES
@property (nonatomic, readonly) CGFloat white; // Only valid if colorSpaceModel == kCGColorSpaceModelMonochrome
@property (nonatomic, readonly) CGFloat alpha;
@property (nonatomic, readonly) UInt32 rgbHex;
- (NSString *)colorSpaceString;
- (NSArray *)arrayFromRGBAComponents;
- (BOOL)red:(CGFloat *)r green:(CGFloat *)g blue:(CGFloat *)b alpha:(CGFloat *)a;
- (UIColor *)colorByLuminanceMapping;
- (UIColor *)colorByMultiplyingByRed:(CGFloat)red green:(CGFloat)green blue:(CGFloat)blue alpha:(CGFloat)alpha;
- (UIColor *) colorByAddingRed:(CGFloat)red green:(CGFloat)green blue:(CGFloat)blue alpha:(CGFloat)alpha;
- (UIColor *) colorByLighteningToRed:(CGFloat)red green:(CGFloat)green blue:(CGFloat)blue alpha:(CGFloat)alpha;
- (UIColor *) colorByDarkeningToRed:(CGFloat)red green:(CGFloat)green blue:(CGFloat)blue alpha:(CGFloat)alpha;
- (UIColor *)colorByMultiplyingBy:(CGFloat)f;
- (UIColor *) colorByAdding:(CGFloat)f;
- (UIColor *) colorByLighteningTo:(CGFloat)f;
- (UIColor *) colorByDarkeningTo:(CGFloat)f;
- (UIColor *)colorByMultiplyingByColor:(UIColor *)color;
- (UIColor *) colorByAddingColor:(UIColor *)color;
- (UIColor *) colorByLighteningToColor:(UIColor *)color;
- (UIColor *) colorByDarkeningToColor:(UIColor *)color;
- (NSString *)stringFromColor;
- (NSString *)hexStringFromColor;
+ (UIColor *)randomColor;
+ (UIColor *)colorWithString:(NSString *)stringToConvert;
+ (UIColor *)colorWithRGBHex:(UInt32)hex;
+ (UIColor *)colorWithHexString:(NSString *)stringToConvert;
+ (UIColor *)colorWithName:(NSString *)cssColorName;
@end
#if SUPPORTS_UNDOCUMENTED_API
// UIColor_Undocumented_Expanded
// Methods which rely on undocumented methods of UIColor
@interface UIColor (UIColor_Undocumented_Expanded)
- (NSString *)fetchStyleString;
- (UIColor *)rgbColor; // Via Poltras
@end
#endif // SUPPORTS_UNDOCUMENTED_API
没有合适的资源?快使用搜索试试~ 我知道了~
iOS游戏应用源代码——doukasd-iOS-Components-4678a8b.zip
共105个文件
m:21个
h:17个
plist:9个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 87 浏览量
2023-07-02
16:48:04
上传
评论
收藏 2.09MB ZIP 举报
温馨提示
iOS游戏应用源代码——doukasd-iOS-Components-4678a8b.zip
资源推荐
资源详情
资源评论
收起资源包目录
iOS游戏应用源代码——doukasd-iOS-Components-4678a8b.zip (105个子文件)
all-wcprops 556B
entries 709B
Assets.fla 110KB
UIColor-Expanded.h 2KB
DialController.h 1KB
MultiDialViewController.h 1KB
DoubleSlider.h 1KB
StyleLabel.h 620B
TallyLabelExampleViewController.h 567B
Dial_ExampleViewController.h 541B
TallyLabel.h 475B
SampleAppDelegate.h 472B
TallyLabelExampleAppDelegate.h 466B
GlowLabel.h 429B
exampleAppDelegate.h 406B
Dial_ExampleAppDelegate.h 390B
DDURLParser.h 379B
SampleViewController.h 328B
exampleViewController.h 275B
Dial_ExampleTests.h 255B
UIColor-Expanded.m 16KB
DialController.m 9KB
DoubleSlider.m 7KB
MultiDialViewController.m 6KB
StyleLabel.m 6KB
exampleViewController.m 5KB
SampleViewController.m 3KB
SampleAppDelegate.m 3KB
TallyLabelExampleAppDelegate.m 2KB
exampleAppDelegate.m 2KB
TallyLabel.m 2KB
Dial_ExampleAppDelegate.m 2KB
Dial_ExampleViewController.m 2KB
TallyLabelExampleViewController.m 2KB
DDURLParser.m 1KB
GlowLabel.m 1KB
Dial_ExampleTests.m 460B
main.m 368B
main.m 359B
main.m 346B
main.m 329B
dimitris.mode1v3 42KB
DialController.mov 2.52MB
project.pbxproj 25KB
project.pbxproj 13KB
project.pbxproj 13KB
project.pbxproj 12KB
dimitris.pbxuser 6KB
TallyLabelExample-Prefix.pch 346B
Dial Example-Prefix.pch 330B
example-Prefix.pch 320B
Sample_Prefix.pch 181B
Dial ExampleTests-Prefix.pch 165B
Dial Example-Info.plist 1KB
example-Info.plist 1KB
TallyLabelExample-Info.plist 1KB
Sample-Info.plist 909B
Dial ExampleTests-Info.plist 710B
xcschememanagement.plist 574B
xcschememanagement.plist 489B
xcschememanagement.plist 479B
xcschememanagement.plist 478B
bg@2x.png 96KB
Default@2x.png 16KB
Default.png 8KB
overlay@2x.png 4KB
Icon@2x~iphone.png 4KB
Icon~iphone.png 2KB
handle_highlight.png 1KB
handle.png 1KB
README 900B
README 38B
InfoPlist.strings 45B
InfoPlist.strings 45B
InfoPlist.strings 45B
InfoPlist.strings 45B
dimitris.mode1v3.svn-base 42KB
project.pbxproj.svn-base 12KB
dimitris.pbxuser.svn-base 6KB
project.pbxproj.svn-base 30B
Digital-7.ttf 28KB
Breakpoints.xcbkptlist 91B
Breakpoints.xcbkptlist 91B
Dial Example.xcscheme 3KB
example.xcscheme 3KB
Sample.xcscheme 3KB
TallyLabelExample.xcscheme 3KB
WorkspaceSettings.xcsettings 676B
WorkspaceSettings.xcsettings 383B
UserInterfaceState.xcuserstate 240KB
UserInterfaceState.xcuserstate 221KB
UserInterfaceState.xcuserstate 126KB
UserInterfaceState.xcuserstate 104KB
contents.xcworkspacedata 162B
contents.xcworkspacedata 157B
contents.xcworkspacedata 152B
contents.xcworkspacedata 151B
TallyLabelExampleViewController.xib 23KB
Dial_ExampleViewController.xib 22KB
MainWindow.xib 20KB
共 105 条
- 1
- 2
资源评论
快乐无限出发
- 粉丝: 1127
- 资源: 7260
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- MyBatis 动态 SQL:灵活而强大的查询构建器.pdf
- com.accordion.prettyo.apk
- 毕业设计:基于SSM的mysql-ssm软件bug管理系统(源码 + 数据库 + 说明文档)
- MTSQL8.0.35windows(64bit)-mysql-installer-community-8.0.35.0
- 人工智能引领音乐创作新时代之Suno AI
- Public-bicycle-usage-forecast-master.zip
- 通道处理过程模拟:从理论到实践.pdf
- 数据库第七次作业E-R图第一题
- 大厂面试真题Java语法基础面试专题及答案
- IMG20240428211124.jpg
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功