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

More instructions for ARC would be helpful #34

Open
mohamedhafez opened this issue Nov 11, 2013 · 2 comments
Open

More instructions for ARC would be helpful #34

mohamedhafez opened this issue Nov 11, 2013 · 2 comments

Comments

@mohamedhafez
Copy link

Specifically, in my ARC project, if I add a view to contentView, will UAModalPanel still take care of retaining and deallocating it when it doesnt need it? or if not how else do I do that?

Also, if I subclass UAModalPanel, does that subclass need to be compiled with the -fno-objc-arc flag? Or can I use ARC in the subclass?

Also, when i have an instance of UAModalPanel in my code, do I have to do anything special like retain and deallocate it, or will ARC take care of that for me just like any other class i use?

@mohamedhafez
Copy link
Author

Actually, from asking on stackoverflow it sounds like as long as this library is KVC compliant, aside from compiling with the special flag I can just treat it like any other ARC class from the rest of my code, including adding subviews and subclassing. If this is true, and the library is KVC compliant, if you could add that info to the main readme it would be great. Thanks for making such a useful library btw:)

@Hackmodford
Copy link

I have converted the project to ARC, you can use my branch if you'd like.

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

No branches or pull requests

2 participants