SwiftyAttributes

A Swifty API for attributed strings

MIT License

Stars
1.6K
Committers
10
SwiftyAttributes - Result Builder + Bug Fixes Latest Release

Published by eddiekaiger over 1 year ago

Result Builder: #53

SwiftyAttributes - SPM Support + Wrappers

Published by eddiekaiger over 4 years ago

Support for Swift Package Manager: #44
Wrappers for UIKit: #34
Plus other improvementts

SwiftyAttributes - Add += operator

Published by eddiekaiger over 5 years ago

See #31

SwiftyAttributes - Support for Swift 5 and Xcode 10.2

Published by eddiekaiger over 5 years ago

Also drops support for everything below Swift 4.2.

SwiftyAttributes - Fix ambiguities with convenience initializer

Published by eddiekaiger over 6 years ago

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.

SwiftyAttributes - Support for Swift 4.2 and Xcode 10

Published by eddiekaiger over 6 years ago

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. 🙌

SwiftyAttributes - Support for Custom Attributes

Published by eddiekaiger over 6 years ago

This adds support for custom, non-standard attributes with the new enum case Attribute.custom(String, Any). See #26 for details.

SwiftyAttributes - Swift 4.1 Warning Fixes

Published by eddiekaiger over 6 years ago

Fixes compilation warnings for Swift 4.1. See #24.

SwiftyAttributes - Naming Fixes for Swift 4

Published by eddiekaiger about 7 years ago

Renamed some methods to include a swifty identifier to disambiguate from similar methods in Foundation. See #19 .

SwiftyAttributes - Support for Swift 4 and 3.2

Published by eddiekaiger about 7 years ago

You can now use SwiftyAttributes whether you're on Swift 3.2 or 4.0 in Xcode 9 🎉 . See #17 for more details.

SwiftyAttributes - Fix macOS build on Swift 3.2.

Published by eddiekaiger about 7 years ago

Fixes SpellingState attribute for macOS on Swift 3.2. See #15 for more details.

SwiftyAttributes - Support for watchOS, macOS, and tvOS

Published by eddiekaiger almost 8 years ago

  • Multiplatform support (iOS, macOS, watchOS, tvOS)
  • Additional macOS-specific attributes
  • Added VerticalGlyphForm enum and attribute
  • Methods to convert between attribute dictionaries and Attribute arrays (#6)
  • Methods to enumerate attributes
  • Example app for macOS
  • Lots of tests
SwiftyAttributes - Version 3.0.0

Published by eddiekaiger almost 8 years ago

This release provides a more fully-featured, Swifty API for most uses cases of attributed strings on iOS. Updates include:

  • A new Attribute enum that serves as a replacement for the key-value pairs of Foundation's API for attributed strings
  • New extensions for adding, modifying, and reading attributes using the new Attribute enum
  • More "Swifty" alternative methods for NSAttributedString and NSMutableAttributedString
  • Support for iOS 8
  • And more... !
SwiftyAttributes - 2.0: Swift 3 Compatibility and API Improvements

Published by eddiekaiger about 8 years ago

  • Added compatibility with Swift 3
  • Introduced two new enums for API clarity
  • Minor improvements to API
  • Fully tested
SwiftyAttributes - 1.0

Published by eddiekaiger almost 9 years ago

Initial release.