kya

KYAsyncLoadBubble

A bubble which can async-load web content without interrupt your current process.

Showing:

Popularity

Downloads/wk

0

GitHub Stars

115

Maintenance

Last Commit

6yrs ago

Contributors

0

Package

Dependencies

1

License

MIT

Categories

Readme

KYAsyncLoadBubble

CocoaPods Version License Platform

asyncloadbubble

##Intro

A bubble which can async-load web content without interrupt your current process.

##Installation

pod 'KYAsyncLoadBubble', '~> 1.0.2'

##How to use


- (IBAction)addBubble:(id)sender {

    for (UIView *subview in self.view.subviews) {
        if ([subview isKindOfClass:[KYAsyncLoadBubble class]]) {
            return;
        }
    }
    _bubble = [KYAsyncLoadBubble new];
    _bubble.bubbleColor = [UIColor colorWithRed:0.0 green:0.487 blue:1.0 alpha:1.0];
    _bubble.progress = 0.0;
    _bubble.bubbleText = @"网页";
    _bubble.delegate = self;
    _bubble.webUrl = @"http://kittenyang.com/deformationandgooey/";
    [self.view addSubview:_bubble];
}

###Then,you need to immplement the protocol method

#pragma mark -- TapBubbleDelegate
-(void)bubbleDidTapped:(NSString *)webContent{
    WebViewController *webVc = [[WebViewController alloc]initWithURL:_bubble.webUrl];
    webVc.webContent = webContent;
    [self.navigationController pushViewController:webVc animated:YES];
}

See more information from the demo project.

HOLD ON A SECOND...

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial