chenfanfang / AvoidCrash

This framework can effective avoid crash by potential error code. For example : If you insert a nil into a mutable array, this framework can avoid crash and note you that where cause crash.
MIT License
1.64k stars 383 forks source link

用try-catch来捕获unrecognized selector sent to instance异常? #67

Closed kobe1941 closed 6 years ago

kobe1941 commented 6 years ago

如题,直接使用try-catch,而不是动态添加方法的形式来处理?