Expand description
§uiactivity_ios_rs
Rust crate and Swift Package Module to open an UIActivity on iOS.
§Features
- Opens an UIActivity to share some text
§Instructions
- Add to XCode: Add SPM (Swift Package Manager) dependency
- Add Rust dependency
§1. Add to XCode
- Go to
File->Add Package Dependenciesand pastehttps://github.com/ThierryBerger/uiactivity_ios_rs.gitinto the search bar on the top right.
§2. Add Rust dependency
cargo add uiactivity_ios_rsor
# always pin to the same exact version you also of the Swift package
uiactivity_ios_rs = { version = "=0.2.0" }§Troubleshooting
- File an issue!
§Dev notes
§Resources
§License
All code in this repository is dual-licensed under either:
- MIT License (LICENSE-MIT or http://opensource.org/licenses/MIT)
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
at your option. This means you can select the license you prefer.
§Your contributions
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Functions§
- share
- Opens a share dialog on iOS with the given text.