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

added #if directives to UIAlertView additions to support ARC#4

Open
justinamberson wants to merge 1 commit into
MKSG-MugunthKumar:masterfrom
justinamberson:master
Open

added #if directives to UIAlertView additions to support ARC#4
justinamberson wants to merge 1 commit into
MKSG-MugunthKumar:masterfrom
justinamberson:master

Conversation

@justinamberson
Copy link
Copy Markdown

Dropped in to an ARC project and got 6 errors, so I added these types of statements

if __has_feature(objc_arc)

return alert;

else

return [alert autorelease];

endif

@drewish
Copy link
Copy Markdown

drewish commented Aug 13, 2012

This no longer applies cleanly. It also doesn't fix all the ARC issues in the project.

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