Need help with AAShareBubbles?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

mixdesign
400 Stars 83 Forks Other 95 Commits 2 Opened issues

Description

Animated Social share buttons control for iOS

Services available

!
?

Need anything else?

Contributors list

# 157,760
Objecti...
Swift
uicontr...
Shell
51 commits
# 51,399
Objecti...
Swift
uiscrol...
Xcode
10 commits
# 104,820
HTML
Kotlin
whatsap...
whatsap...
2 commits
# 548,445
Objecti...
Ruby
2 commits
# 209,525
Objecti...
walkthr...
Swift
uiscrol...
1 commit
# 437,558
Objecti...
Swift
1 commit
# 3,156
sass-fr...
splash
Socket....
pipelin...
1 commit
# 487,212
Objecti...
PHP
spider
bots
1 commit
# 518
program...
analysi...
2d-fram...
Sketch
1 commit
# 586,384
Objecti...
Ruby
1 commit

Intro

Swift version: https://github.com/takecian/SwiftShareBubbles

Animated Social share buttons control.
Supported buttons:
Facebook, Twitter, Google+, Tumblr, Vkontakte (vk.com), LinkedIn, Pinterest, Youtube, Vimeo, Reddit, Instagram, Whatsapp, E-mail, Add to favorites

Also supports custom buttons.

Demo video:
http://www.youtube.com/watch?v=0yvl4_db1F4

  

Installation

Two ways:
1. Just drag n drop AAShareBubbles folder into your xcode project.
2. CocoaPods:

ruby
pod 'AAShareBubbles'

Usage:

#import "AAShareBubbles.h"
AAShareBubbles *shareBubbles = [[AAShareBubbles alloc] initWithPoint:CGPointMake(100, 100)
                                                              radius:100
                                                              inView:self.view];
shareBubbles.delegate = self;
shareBubbles.bubbleRadius = 45; // Default is 40
shareBubbles.showFacebookBubble = YES;
shareBubbles.showTwitterBubble = YES;
shareBubbles.showMailBubble = YES;
shareBubbles.showGooglePlusBubble = YES;
shareBubbles.showTumblrBubble = YES;
shareBubbles.showVkBubble = YES;

// add custom buttons -- buttonId for custom buttons MUST be greater than or equal to 100 [shareBubbles addCustomButtonWithIcon:[UIImage imageNamed:@"custom-icon"] backgroundColor:[UIColor greenColor] andButtonId:100];

[shareBubbles show];

// Use another initialization method to create share buttons on UIWindow instance (at the center) AAShareBubbles *shareBubbles = [[AAShareBubbles alloc] initCenteredInWindowWithRadius:100]; ...

Delegate

-(void)aaShareBubbles:(AAShareBubbles *)shareBubbles tappedBubbleWithType:(AAShareBubbleType)bubbleType
{
    switch (bubbleType) {
        case AAShareBubbleTypeFacebook:
            NSLog(@"Facebook");
            break;
        case AAShareBubbleTypeTwitter:
            NSLog(@"Twitter");
            break;
        case AAShareBubbleTypeMail:
            NSLog(@"Email");
            break;
        case AAShareBubbleTypeGooglePlus:
            NSLog(@"Google+");
            break;
        case AAShareBubbleTypeTumblr:
            NSLog(@"Tumblr");
            break;
        case AAShareBubbleTypeVk:
            NSLog(@"Vkontakte (vk.com)");
            break;
        case 100:
            // custom buttons have type >= 100
            NSLog(@"Custom Button With Type 100");
            break;
        default:
            break;
    }
}

-(void)aaShareBubblesDidHide:(AAShareBubbles *)bubbles { NSLog(@"All Bubbles hidden"); }

Requirements:

ARC
,
iOS 5+
,
Xcode 4+

Todo:

  • Add more social buttons.
  • Add opportunity to show bubbles in specified order.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.