UrbanApps / UAModalPanel

An animated modal panel alternative for iOS

Home Page:http://code.coneybeare.net/uamodalpanel-an-open-source-modal-panel-alter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

More instructions for ARC would be helpful

mohamedhafez opened this issue · comments

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?

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:)

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