Skip to content

takuoka/KireiShare

Repository files navigation

Gloss

KireiShare

Modal view for share action. Simple, useful and clean design.

Screenshot

Output sample

How To Use

let shareView = KireiShareView(
    text: "Awesome!!Dope!!!",
    url: "http://uniface.in/",
    image: thumbnail
)
shareView.show()

Optional Customization

Custom Parameter

shareView.otherButtonTitle = "その他"
shareView.cancelButtonTitle = "キャンセル"
shareView.copyLinkButtonTitle = "リンクをコピー"
shareView.copyFinishedMessage = "コピーしました。"
shareView.animationDuration = 0.2

Custom Button List

shareView.buttonList = [
    .Other,
    .CopyLink,
    .Facebook,
    .Twitter,
]

Add Custom Button

shareView.buttonList = [
    .Other,
    .CopyLink,
    .Facebook,
    .Twitter,

    // add your button
    .Custom(
        title: "Tumblr",
        icon: UIImage(named:"tumblr"),
        onTap: {
            shareToTumblr()
            shareView.dismiss()
        }
    ),
]

Developer: @tk_365

Designer: @mackymakiosh

About

Simple, Beautiful and Light Weight view for share action.

Resources

Stars

Watchers

Forks

Packages

No packages published