Skip to content

YPTruncatedLabelNode is a class designed for truncating text.

License

Notifications You must be signed in to change notification settings

peteliev/YPTruncatedLabelNode

Repository files navigation

YPTruncatedLabelNode

Platform Swift 4.2 License

Description

YPTruncatedLabelNode is a class designed to truncating text. SKLabelNode contains property preferredMaxLayoutWidth, but it available for iOS 11+, macOS 13+. If you need to support legacy versions, you should use YPTruncatedLabelNode class.

Requirements

  • Swift 4.2
  • Xcode 10+
  • iOS 9.0+
  • macOS 10.10+

License

YPTruncatedLabelNode is available under the MIT license. See the LICENSE file for more info.