Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 994 Bytes

File metadata and controls

23 lines (14 loc) · 994 Bytes

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.