Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slowing transitions #8

Open
bizibizi opened this issue May 23, 2014 · 3 comments
Open

Slowing transitions #8

bizibizi opened this issue May 23, 2014 · 3 comments

Comments

@bizibizi
Copy link

I have custom transition and then I use this lib I have 2-3 sec slowing of transition.

@bizibizi
Copy link
Author

Fixed it

  • (void)setImage:(UIImage *)image
    {

    [super setImage:image];
    [blurImages_ removeAllObjects];

    dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_BACKGROUND, 0), ^{
    [self prepareForBlurImages];
    });

}

@getarobo
Copy link

@bizibizi thanks man! just what I needed for same problem I had

@badalpub1991
Copy link

void)setImage:(UIImage *)image
{

[super setImage:image];
[blurImages_ removeAllObjects];

dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_BACKGROUND, 0), ^{
[self prepareForBlurImages];
});

}

when i set this code. it gives error for line

    UIImage *image = blurImages_[0];

arrayindexoutofbound for empty array.
what should i do for that?
thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants