https://github.com/meniny/uipreviewactivityviewcontroller
An UIActivityViewController with preview.
https://github.com/meniny/uipreviewactivityviewcontroller
Last synced: about 1 year ago
JSON representation
An UIActivityViewController with preview.
- Host: GitHub
- URL: https://github.com/meniny/uipreviewactivityviewcontroller
- Owner: Meniny
- License: mit
- Created: 2018-06-07T06:24:30.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-04-21T11:25:31.000Z (about 7 years ago)
- Last Synced: 2025-04-08T10:18:06.427Z (about 1 year ago)
- Language: Swift
- Size: 8.42 MB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE.md
Awesome Lists containing this project
README
:name: UIPreviewActivityViewController
:author: Elias Abel
:author_esc: Elias%20Abel
:mail: admin@meniny.cn
:desc: an UIActivityViewController with preview
:icon: {name}.png
:version: 1.1.0
:na: N/A
:ios: 9.0
:macos: {na}
:watchos: {na}
:tvos: {na}
:linux: {na}
:xcode: 10.2
:swift: 5
:license: MIT
:sep: %20%7C%20
:platform: iOS
// :toc: left
:toclevels: 6
:toc-title: TOC
:source-highlighter: highlightjs
// :source-highlighter: pygments
= Meet `{name}`
{author} <{mail}>
v{version}, 2018-06-08
[subs="attributes"]
++++
++++
:toc:
== 🏵 Introduction
**{name}** is {desc}.
image::./Assets/Preview.gif[Preview.gif]
== 📋 Requirements
[%header]
|===
2+^m|Type 1+^m|Requirement
1.5+^.^|Platform ^|iOS ^|{ios}+
^|macOS ^|{macos}
^|tvOS ^|{tvos}
^|watchOS ^|{watchos}
^|Linux ^|{linux}
^|IDE ^|Xcode ^| {xcode}+
^|Language ^|Swift ^| {swift}+
|===
== 📲 Installation
=== CocoaPods
`{name}` is available on link:https://cocoapods.org[CocoaPods].
[source, ruby, subs="verbatim,attributes"]
----
use_frameworks!
pod '{name}'
----
=== Manually
Copy all files in the `{name}` directory into your project.
== 🛌 Dependency
{na}
== ❤️ Contribution
You are welcome to fork and submit pull requests.
== 🔖 License
`{name}` is open-sourced software, licensed under the link:./LICENSE.md[`{license}`] license.
== 🔫 Usage
[source, swift, subs="verbatim,attributes"]
----
import {name}
let shareControler = UIPreviewActivityViewController.init(activityItems: [string, #imageLiteral(resourceName: "pic1"))
controller.present(shareControler, animated: true, completion: nil)
----