Open mohamedhafez opened 11 years ago
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.
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?