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

Cancel any previous hide view request before showing. #5

Merged
merged 1 commit into from
Oct 24, 2011

Conversation

axfree
Copy link

@axfree axfree commented Oct 24, 2011

  • (void) show:(BOOL)animated name:(NSString*) name {
    [NSObject cancelPreviousPerformRequestsWithTarget:self selector:@selector(hideAnimated) object:nil];

    [self showOrHide:NO animated:animated name:name];
    }

This patch prevents the view from disappearing by previous queued hide request.

gcamp added a commit that referenced this pull request Oct 24, 2011
Cancel any previous hide view request before showing.
@gcamp gcamp merged commit 0265d7d into gcamp:master Oct 24, 2011
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

Successfully merging this pull request may close these issues.

None yet

2 participants