【发布时间】:2011-11-01 05:26:50
【问题描述】:
我搜索了我最好的水平来处理 iphone 应用程序中的@try @catch。但是,我找不到使用 google 的 @try 和 @catch 语句的确切解决方案/示例。你能帮我在我的代码中实现@try 和@catch 吗?请帮忙。提前致谢。
【问题讨论】:
我搜索了我最好的水平来处理 iphone 应用程序中的@try @catch。但是,我找不到使用 google 的 @try 和 @catch 语句的确切解决方案/示例。你能帮我在我的代码中实现@try 和@catch 吗?请帮忙。提前致谢。
【问题讨论】:
@try {
crashy code
} @catch (NSException *e) {
no crash for me
} @finally {
happens whether the code was successful or not
}
【讨论】: