mamaral / Onboard

An iOS framework to easily create a beautiful and engaging onboarding experience with only a few lines of code.
MIT License
6.46k stars 765 forks source link

Exposed the imageView #38

Closed maciekish closed 9 years ago

maciekish commented 9 years ago

Enables neat things like animating the image like this:

@weakify(content1);
content1.viewWillAppearBlock = ^{
    @strongify(content1);
    content1.imageView.animationImages = @[[UIImage imageNamed:@"1"], [UIImage imageNamed:@"2"], [UIImage imageNamed:@"3"]];
    content1.imageView.animationDuration = 0.3f;
    [content1.imageView startAnimating];
};
mamaral commented 9 years ago

Very cool - any chance you want to revise this to also expose the other UI components, the action button, labels, etc? I think some cool stuff could be done like that.

mamaral commented 9 years ago

Looks like this was lost in the shuffle and now has some conflicts. I'd still be willing to merge it if you resolved them and updated the PR.

mamaral commented 9 years ago

Feel free to reopen this if you get around to fixing the conflicts.