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

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

justinamberson
Copy link

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

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.

None yet

2 participants