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