Swiftpack.co -  tyagishi/SDSSharingServicePicker as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
tyagishi/SDSSharingServicePicker
wrapped NSSharingServicePicker for SwiftUI
.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: 4 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

add iOS support
5 weeks ago

add SDSActivityView for iOS

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