SwiftUI Color Set & Image Set & App Icon Set All In One
SwiftUI Color Set & Image Set & App Icon Set All In One
Color Set
Assets.xcassets&.colorset

/Users/xgqfrms-mbp/Documents/swift-ui/CardsApp/CardsApp/Assets.xcassets/Colors/ShadowColor.colorset/Contents.json

https://developer.apple.com/documentation/swiftui/color
https://developer.apple.com/search/?q=color set
Image Set
Assets.xcassets&.imageset

New Folder From Selection
从选择的文件创建文件夹
从选择中新建文件夹

SVG

App Icon Set
Assets.xcassets&.appiconset
/Users/xgqfrms-mbp/Documents/swift-ui/CardsApp/CardsApp/Assets.xcassets/AppIcon.appiconset/Contents.json
info.plist
App 启动动画配置



<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>UILaunchScreen</key>
<dict>
<key>UIColorName</key>
<string>launch-screen-color</string>
<key>UIImageName</key>
<string>launch-screen-image</string>
<key>UIImageRespectsSafeAreaInsets</key>
<true/>
</dict>
</dict>
</plist>
demo
refs
https://pan.baidu.com/disk/main?from=homeSave#/index?category=all&path=%2F41822,SwiftUI自学成长笔记
©xgqfrms 2012-2020
www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!
原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/16255066.html
未经授权禁止转载,违者必究!

浙公网安备 33010602011771号