A Swifty API for attributed strings
Result Builder: #53
Support for Swift Package Manager: #44 Wrappers for UIKit: #34 Plus other improvementts
See #31
Also drops support for everything below Swift 4.2.
This release updates the labels in the convenience initializer because it seems that the Swift compiler finds it conflicting with the initializer for NSAttributedString
(see #29 and #30). This is a breaking change that will only affect people who use the convenience initializer.
You can now use SwiftyAttributes with Swift 4.2 and Xcode 10! The library still works with Swift 3, lower versions of Swift 4, and Xcode 9. 🙌
This adds support for custom, non-standard attributes with the new enum case Attribute.custom(String, Any)
. See #26 for details.
Fixes compilation warnings for Swift 4.1. See #24.
Renamed some methods to include a swifty
identifier to disambiguate from similar methods in Foundation
. See #19 .
You can now use SwiftyAttributes whether you're on Swift 3.2 or 4.0 in Xcode 9 :tada: . See #17 for more details.