- Will the apple allow us to use our own customized alertView ?
- I find this TSAlertView is not compatible with ios 5(ARC) . I just remove all the 'auto release ' 'retain' from the .m file. now it does't work. when show it. it always print 'TSAlertViewController dealloc' . Do you know why ?
- I just want a Alert View that I can change the background image , button image or someting...
Asked
Active
Viewed 504 times
3

Vitaly S.
- 2,389
- 26
- 40

lostin2010
- 123
- 2
- 10
2 Answers
3
You don't need to convert TSAlertView to use it in ARC-enabled project. You can disable ARC only for TSAlertView. There is the instruction: How can I disable ARC for a single file in a project?
I've just successfully used TSAlertView in my ARC-enabled project.
0
- You can use your own custom view instead of an alert view, yes.
- ARC is about more than just removing retains and release. But, there is a convertor to help you and it is available in Xcode's Refector Menu.
- See the answer to 1.

Abizern
- 146,289
- 39
- 203
- 257
-
Thanks.I use XCode's Refactor to covert TSAlertView successfully . but it doesn't work . prompt the same error as my 2nd point... – lostin2010 Nov 05 '12 at 13:58
-
I can't understand what you are asking. – Abizern Nov 05 '12 at 14:35
-
sorry. Could you help me convert this project to iOS5,6 ARC version? https://github.com/TomSwift/TSAlertView – lostin2010 Nov 05 '12 at 14:39
-
Sorry - no. If I work on Open Source projects it's because I choose to, not to answer an Stack Overflow question. – Abizern Nov 05 '12 at 15:12