Skip to content

Simple, Beautiful and Light Weight view for share action.

Notifications You must be signed in to change notification settings

tsomaev/KireiShare

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Languages

  • Swift 96.0%
  • Ruby 4.0%