shaps80 / SwiftUIBackports

A collection of SwiftUI backports for iOS, macOS, tvOS and watchOS
MIT License
931 stars 59 forks source link

Adds support for ToolbarPlacement #20

Closed mmllr closed 1 year ago

mmllr commented 1 year ago

Have you read the Contributing Guidelines?

Issue #

Describe your changes

Clearly and concisely describe what's in this pull request. Include screenshots, if necessary.

shaps80 commented 1 year ago

Am I understanding this right, this is just to enable the modifier, but do nothing in older versions? Essentially, not a backport?

mmllr commented 1 year ago

As far as I know there is no way to set the visibility for older versions. So yes, this is a noop on older versions

shaps80 commented 1 year ago

This library isn't really for this purpose. I'd suggest you add this in your own projects directly. The purpose of this library is to actually backport functionality so it can be used in older OS versions. I'll close as its not relevant for this project I'm afraid.

I do appreciate the effort however 👍