【发布时间】:2011-10-12 08:38:03
【问题描述】:
可能的重复:
What are the best practices for exceptions/returning NO/nil in Objective-c?
iphone: try end try
在 iPhone 应用程序中编写 try 和 catch 是一个好习惯吗?
或者我们也可以使用编码和 if else 条件来处理错误。
请尽快回复我。
谢谢。
【问题讨论】:
-
异常处理总是好的
标签: iphone ios exception-handling error-handling