CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.
TestsTested | ✓ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Jan 2018 |
SwiftSwift Version | 4 |
SPMSupports SPM | ✗ |
Maintained by Kwanghoon Choi.
NSAttributedString utility wrapper library
let hello: NSAttributedString = "Hello".attributes.with(attributes: .foreground(.red) + .background(.yellow))
let hello2: NSAttributedString = "Hello".attributes.foreground(.red).background(.yellow)
let hello3: NSAttributedString = "Hello".attributes.foreground(.red).background(.black)
let hello4: NSAttributedString = "Hello".attributes.font(.systemFont(ofSize: 18, weight: .medium))
let hello5: NSAttributedString = "Hello".attributes.strikethrough(.styleSingle)
target 'MyApp' do
pod 'Attributes'
end
Then run a pod install inside your terminal, or from CocoaPods.app.
This project is licensed under the MIT License - see the LICENSE file for details