Latest 0.2
Homepage https://github.com/kennygunie/YLLongTapShare
License MIT
Platforms ios 6.0, requires ARC
Frameworks CoreGraphics
Authors ,

YLLongTapShare

Long Tap Sharing control for iOS. Inspired by this design.

YLLongTapShare@kennygunie

Get Start

Using CocoaPods to get start, you can add following line to your Podfile:

pod 'YLLongTapShare'

How to use it

For using this control, it’s very easy, after adding source file to your project, using following code to enable the long tap share function.

[self.view addShareItem:[YLShareItem itemWithIcon:[UIImage imageNamed:@"facebook"] andTitle:@"Facebook"]];
[self.view addShareItem:[YLShareItem itemWithIcon:[UIImage imageNamed:@"pinterest"] andTitle:@"Pinterest"]];
[self.view addShareItem:[YLShareItem itemWithIcon:[UIImage imageNamed:@"instagram"] andTitle:@"Instagram"]];

It support YLLongTapShareView and UIButton. The default color of this control is white, for customizing the color apperance, you can implmenet following delegate function:

- (UIColor*)colorOfShareView {
    return [UIColor redColor];
}

Welcome pull request

With your help, we can continually improve this control.

Thanks.

Latest podspec

{
    "name": "[email protected]",
    "version": "0.2",
    "summary": "fork of kennygunie",
    "description": "Long tap for sharing control for iOS. Using Core Animation without any other 3rd libs.",
    "homepage": "https://github.com/kennygunie/YLLongTapShare",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "liyong03": "[email protected]",
        "Kien NGUYEN": "[email protected]"
    },
    "social_media_url": "http://twitter.com/kennygunie",
    "platforms": {
        "ios": "6.0"
    },
    "source": {
        "git": "https://github.com/kennygunie/YLLongTapShare.git",
        "tag": "v0.2"
    },
    "source_files": [
        "YLLongTapShareControl",
        "YLLongTapShareControl/**/*.{h,m}"
    ],
    "exclude_files": "Classes/Exclude",
    "frameworks": "CoreGraphics",
    "requires_arc": true
}

Pin It on Pinterest

Share This