joekndy / MarqueeText

Marquee or "scrolling text" effect in SwiftUI
258 stars 43 forks source link

onChange() is only available in iOS 14.0 or newer #10

Closed Skk-tj closed 2 years ago

Skk-tj commented 2 years ago

It seems like Xcode is not happy with the onChange() in MarqueeText.swift. My deployment target is iOS 15.2.

Screen Shot 2022-04-02 at 01 57 11
skyfoxa commented 2 years ago

I opened a new PR #13 for this issue. It adds a backwards compatibility for iOS 13 so the package min iOS version doesn't have to be updated to iOS 14.