开发者

Retain object through UIAlertView/UIActionView dialogs

I'm working on a local (to the method) custom object and need to display a dialog (UIActionSheet or UIAlertView) to the user. What's the best way to get access to same object when delegate is called after user interacts with the dialog? Any Cocoa tricks besides addi开发者_高级运维ng another instance variable to current class?


One way is to use "Associated Objects". (but you can't test it in simulator.)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜