Skip to content

Instantly share code, notes, and snippets.

/*此属性为全局*/
.output_wrapper {
font-size: 16px;
color: #3e3e3e;
line-height: 2;
word-spacing: 0px;
letter-spacing: 0px;
font-family: "Helvetica Neue",Helvetica,"Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif;
}
private final class BundleToken {}
extension UIImage {
convenience init?(namedInBundle name: String) {
let bundle = Bundle(for: BundleToken.self)
self.init(named: name, in: bundle, compatibleWith: nil)
}
}
UIImage(namedInBundle: "123")