2013年2月23日 星期六

Responds To Selector

在@select時
如果沒有選好常會有當掉的狀況
搜尋了一下
有篇文章的方法不錯記錄下來
http://blog.csdn.net/dongdongdongjl/article/details/8498555

使用respondsToSelector@select(Method)
來判斷是否有此Method
這樣就比較不會當掉了

沒有留言:

張貼留言