Foundation框架—字符串
来源:互联网 发布:ubuntu桌面主题 编辑:程序博客网 时间:2024/04/29 19:00
Foundation框架—字符串
一、Foundation框架中一些常用的类
字符串型:
NSString:不可变字符串
NSMutableString:可变字符串
集合型:
1)
NSArray:OC不可变数组
NSMutableArray:可变数组
2)
NSSet:
NSMutableSet:
3)
NSDictiorary
NSMutableDictiorary
其它:
NSDate
NSObject
二、NSString和NSMutableString的使用与注意
(一)6种创建字符串的形式
(二)使用注意
(1)字符串的导入导出
(2)类方法
(三)NSMutableString的使用与注意
(四)URL补充内容
Url:资源路径
格式:协议头:/路径
网络路径协议头:http
本地文件以file为协议头
ftp为协议头,说明资源是ftp服务器上的。
0 0
- Foundation框架—字符串
- Foundation框架—字符串
- Foundation框架—字符串
- Foundation框架—字符串
- Foundation框架—字符串
- IOS学习之Foundation框架—字符串
- Foundation框架—字符串NSString 和 NSMutableString
- Foundation框架-字符串
- Foundation框架之字符串对象
- 黑马程序员——Foundation框架—字符串方法
- 黑马程序员——Foundation框架:字符串之集合类
- Foundation框架—集合
- Foundation框架—集合
- Foundation框架—集合
- Foundation框架—集合
- Foundation——字符串
- Foundation——字符串
- Foundation——字符串
- 随记
- html布局
- 单片机控制LCD1602显示字符(测试通过)
- CXF REST/JSON文件上传
- 编程课的月底总结
- Foundation框架—字符串
- 网站入侵学习入门到高手所有重点难点视频推荐
- c++深拷贝和浅拷贝
- android 获取经纬度城市名(通过baidumapapi 以及 json解析)
- hdu 1180 诡异的楼梯 (bfs)
- Codeforces Round #269 (Div. 2)(hash)
- 设计模式学习笔记
- XXX could not be redeployed because it could not be completely removed in the undeployment phase
- 几种数据类型范围总结