SwiftColorPicker:在 Swift 中实现的用于 iOS 设备的类似 Photoshop 的颜色选择器-源码

上传者: 42128988 | 上传时间: 2021-07-03 14:06:04 | 文件大小: 85KB | 文件类型: ZIP
快速颜色选择器 在 Swift 中实现的 iOS 设备的类似 Photoshop 的颜色选择器。 ##How 使用:在您的应用程序中包含 SwiftColorPicker 非常简单。 ###Learning 克隆 repo,在 Xcode 中打开项目,然后打开 Main.stroyboard 以查看如何使用 ColorPicker。 您会注意到 ViewController 有一个与 ColorPicker 类关联的子视图,并且 ViewController 有一个 @IBOutlet 对 ColorPicker UIView 的引用。 接下来打开 ViewController.swift,你会注意到在 viewDidLoad 方法中调用了 ColorPicker.setColor(color: UIColor)。 这允许您指定 ColorPicker 最初应显示为所选颜色的颜色(否则

文件下载

资源详情

[{"title":"( 21 个子文件 85KB ) SwiftColorPicker:在 Swift 中实现的用于 iOS 设备的类似 Photoshop 的颜色选择器-源码","children":[{"title":"SwiftColorPicker-master","children":[{"title":"LICENSE <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"SwiftColorPickerTests","children":[{"title":"Info.plist <span style='color:#111;'> 755B </span>","children":null,"spread":false},{"title":"SwiftColorPickerTests.swift <span style='color:#111;'> 941B </span>","children":null,"spread":false}],"spread":true},{"title":"SwiftColorPicker.xcodeproj","children":[{"title":"project.xcworkspace","children":[{"title":"xcshareddata","children":[{"title":"SwiftColorPicker.xccheckout <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"contents.xcworkspacedata <span style='color:#111;'> 161B </span>","children":null,"spread":false}],"spread":true},{"title":"xcuserdata","children":[{"title":"christopherstadler.xcuserdatad","children":[{"title":"xcschemes","children":[{"title":"xcschememanagement.plist <span style='color:#111;'> 578B </span>","children":null,"spread":false},{"title":"SwiftColorPicker.xcscheme <span style='color:#111;'> 4.21KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"project.pbxproj <span style='color:#111;'> 19.47KB </span>","children":null,"spread":false}],"spread":true},{"title":"SwiftColorPicker","children":[{"title":"ViewController.swift <span style='color:#111;'> 820B </span>","children":null,"spread":false},{"title":"Info.plist <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"AppDelegate.swift <span style='color:#111;'> 2.04KB </span>","children":null,"spread":false},{"title":"images","children":[{"title":"ScreenShot1.png <span style='color:#111;'> 69.07KB </span>","children":null,"spread":false}],"spread":true},{"title":"lib","children":[{"title":"SwiftColorPicker","children":[{"title":"ColorPicker.swift <span style='color:#111;'> 4.34KB </span>","children":null,"spread":false},{"title":"ColorLayer.swift <span style='color:#111;'> 530B </span>","children":null,"spread":false},{"title":"CrossHairView.swift <span style='color:#111;'> 5.53KB </span>","children":null,"spread":false},{"title":"SelectedColorView.swift <span style='color:#111;'> 659B </span>","children":null,"spread":false},{"title":"MainColorView.swift <span style='color:#111;'> 5.40KB </span>","children":null,"spread":false},{"title":"ColorGradientView.swift <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Base.lproj","children":[{"title":"Main.storyboard <span style='color:#111;'> 3.84KB </span>","children":null,"spread":false}],"spread":true},{"title":"Images.xcassets","children":[{"title":"AppIcon.appiconset","children":[{"title":"Contents.json <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明