Skip to content
This repository has been archived by the owner on Apr 29, 2020. It is now read-only.

Avoid using static blocks for UIAlertView #7

Merged
merged 1 commit into from
Jun 9, 2012
Merged

Avoid using static blocks for UIAlertView #7

merged 1 commit into from
Jun 9, 2012

Conversation

hwaxxer
Copy link
Contributor

@hwaxxer hwaxxer commented May 25, 2012

Static blocks works as long as there are no multiple UIAlertViews appearing. However, if two or more UIAlertViews appear, only the blocks of the latter will be used. This solves that problem by using objc runtime to set properties on categories.

MugunthKumar pushed a commit that referenced this pull request Jun 9, 2012
Avoid using static blocks for UIAlertView
@MugunthKumar MugunthKumar merged commit 57bc879 into MugunthKumar:master Jun 9, 2012
@MugunthKumar
Copy link
Owner

Awesome and sorry for the delay.

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

Successfully merging this pull request may close these issues.

2 participants