Skip to content

μframework to build attributed strings with simple interface and value semantic.

License

Notifications You must be signed in to change notification settings

S2Ler/AttributedStringBuilder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swift

Example

var b = AttributedStringBuilder()
b.append("Hello")
b.append(image: Image(named: "AnImage")!)
b.append("World!", font: Font.boldSystemFont(ofSize: 14), color: .red)
let attributedString: NSAttributedString = b.buildAndReset()

About

μframework to build attributed strings with simple interface and value semantic.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages