求教如何在类中添加方法?

appdelegate中添加了alertView,想要接收到用户点击的值,需要加一个方法,在class_addMethod和CHMethod_new_ 中应该怎么做呢?