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

Added weak self to prevent crashing. Added self-sizing tableView. #63

Closed
wants to merge 4 commits into from

Conversation

NikKovIos
Copy link
Collaborator

Fix #62

@NikKovIos NikKovIos changed the title Added weak self to prevent crashing. Added weak self to prevent crashing. Added self-sizing tableView. Mar 12, 2019
[[NSOperationQueue mainQueue] addOperationWithBlock:^{
__weak typeof(self) weakSelf = self;
[UIView animateWithDuration:coordinator.transitionDuration animations:^{
if (weakSelf) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think, it's good to make self strong here after passing it to the block

@NikKovIos
Copy link
Collaborator Author

The problem was in another thing rely to screen orientation.

@richardtop
Copy link

I'm experiencing the crashes also... Need this to get merged, or condider removing LGAlertView from the codebase

@NikKovIos NikKovIos closed this by deleting the head repository Sep 5, 2024
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.

Crash viewWillTransitionToSize
2 participants