Swiftpack.co - tyagishi/SDSSharingServicePicker as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by tyagishi.
tyagishi/SDSSharingServicePicker 2.0.0
wrapped NSSharingServicePicker for SwiftUI
⭐️ 0
🕓 2 years ago
iOS macOS
.package(url: "https://github.com/tyagishi/SDSSharingServicePicker.git", from: "2.0.0")

SDSSharingServicePicker

Feature

NSSharingServicePicker wrapped with NSViewRepresentable with Button for SwiftUI

SDSSharingServicePicker

Code Example

in SwiftUI View

SDSSharingServicePicker(itemProvider: {
        // provide items as [Any]
        return []
    },
    completion: { service in
        // called after service is selected
        // service will be nil, if user cancel the operation
    })

License

MIT license

Installation

With Swift Package Manager, File -> Swift Packages -> Add Package Dependency

URL: https://github.com/tyagishi/SDSSharingServicePicker

Requirements

macOS 11

TODO

  • ☐ make custom point for button appearance

Note

GitHub

link
Stars: 0
Last commit: 2 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

add iOS support
2 years ago

add SDSActivityView for iOS

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics