WhatsNew.Text from NSAttributedString Availability Issue #49

Closed
opened 2025-10-14 15:57:21 -06:00 by navan · 0 comments
Owner

Originally created by @iosdeveloper on 1/16/2022

WhatsNewKit Environment

  • WhatsNewKit version: 2.1
  • Xcode version: 13.2.1
  • Swift version: 5
  • macOS version running Xcode: 11.6.2
  • Dependency manager (SPM, Manually): SPM

What did you do?

Try to create an instance of WhatsNew.Text from a NSAttributedString with iOS deployment target 14.0:

WhatsNew.Text(NSAttributedString())

What did you expect to happen?

No build error. NSAttributedString should be available on iOS 3.2+.

What happened instead?

'(init(_:)' is only available in iOS 15.0 or newer

*Originally created by @iosdeveloper on 1/16/2022* ## WhatsNewKit Environment - WhatsNewKit version: 2.1 - Xcode version: 13.2.1 - Swift version: 5 - macOS version running Xcode: 11.6.2 - Dependency manager (SPM, Manually): SPM ## What did you do? Try to create an instance of `WhatsNew.Text` from a `NSAttributedString` with iOS deployment target `14.0`: ```swift WhatsNew.Text(NSAttributedString()) ``` ## What did you expect to happen? No build error. `NSAttributedString` should be available on iOS 3.2+. ## What happened instead? > '(init(_:)' is only available in iOS 15.0 or newer
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github/WhatsNewKit#49
No description provided.