We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在使用UIImageView(imageName:)方法初始化一个UIImageView时
UIImageView(imageName:)
控制台输出警告 CUICatalog: Invalid asset name supplied: ''
CUICatalog: Invalid asset name supplied: ''
在UIImageView+SwiftlyUI.swift:
UIImageView+SwiftlyUI.swift
convenience init(imageName: String, highlightedImageName: String? = nil) { self.init(image: UIImage(named: imageName), highlightedImage: UIImage(named: highlightedImageName ?? "")) }
将实现方式改为
convenience init(imageName: String, highlightedImageName: String? = nil) { self.init(image: UIImage(named: imageName), highlightedImage: highlightedImageName ? UIImage(named: highlightedImageName) : nil) }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
在使用
UIImageView(imageName:)
方法初始化一个UIImageView时控制台输出警告
CUICatalog: Invalid asset name supplied: ''
在
UIImageView+SwiftlyUI.swift
:解决办法
将实现方式改为
The text was updated successfully, but these errors were encountered: