@protocol 协议名 <其它协议,。。>
来源:互联网 发布:2k16mc科比捏脸数据 编辑:程序博客网 时间:2024/06/06 19:29
@protocol 协议名 <其它协议,。。>
方法声明 1
@optional
方法声明 2
@required
方法声明 3
。。。
@end
异常处理
@try{
。。。。//可能发生异常的代码
}catch (NSException *exception ) {
...//发生异常之后的处理
}
@finally {
...//无论哪种情况发生都要执行的代码。如:资源释放
}
自定义异常的方法:
NSException *exception =[NSException exceptionWithName:@"TextException" reason:@"no reason" userInfo:nil];
throw exception;
- @protocol 协议名 <其它协议,。。>
- protocol协议
- Protocol 协议
- Protocol 协议
- protocol 协议
- @protocol协议
- protocol 协议
- 协议Protocol
- 协议Protocol
- 协议(protocol)
- 协议(protocol)
- protocol - 协议
- 协议 protocol
- Protocol 协议
- Protocol协议
- 网络层其它协议
- Google SiteMap Protocol协议
- Object-C 协议 Protocol
- C#多线程学习(一) 多线程的相关概念
- 参数传递
- fengshu.h,fengshu.m
- scene, segue, relationship
- “当我在荒废时间的时候会有多少人在拼命。”——转自豆瓣
- @protocol 协议名 <其它协议,。。>
- mips 异常处理和进程切换
- (文件下载)Can not find a java.io.InputStream with the name [inputStream] in the invocation stack
- 国嵌视频学习第四天-进程通信
- iphone 开发 官方 第一例
- 6.41
- 数学建模浅谈
- C#多线程学习(二) 如何操纵一个线程
- 近似证明哥德巴赫猜想