This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*此属性为全局*/ | |
.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; | |
} |