Learning the 02 day for ios
来源:互联网 发布:帝国时代2日本武士数据 编辑:程序博客网 时间:2024/05/16 18:12
1.NSBundle
1> 一个NSBundle代表一个文件夹,利用NSBundle能访问对应的文件夹
2> 利用mainBundle就可以访问软件资源包中的任何资源
3> 模拟器应用程序的安装路径
/Users/aplle/资源库/Application Support/iPhone Simulator/7.1/Applications
2.UIImageView和UIButton
1> 使用场合
* UIImageView: 如果仅仅是显示图片,不需要监听图片的点击
* UIButton: 既要显示图片,又要监听图片的点击
2> 相同:能显示图片
3> 不同点
* UIButton能处理点击事件, UIImageView不能处理点击事件
* UIButton既能显示图片, 又能显示文字
* UIButton能同时显示两张图片
* UIButton继承自UIControl, 因此默认就能处理事件
* UIImageView继承自UIView, 因此默认就不能处理事件
3.Xcode文档安装路径
/Applications/Xcode.app/Contents/Developer/Documentation/DocSets
4.Xcode模拟器安装路径
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs
0 0
- Learning the 02 day for ios
- Learning the 01 day for ios
- Unity Learning for Day 2
- Unity Learning for Day 3
- Unity Learning for Day 5
- Unity Learning for Day 6
- Unity Learning for Day 9
- Unity Learning for Day 12
- Unity Learning for Day 13
- Unity Learning for Day 14
- Unity Learning for Day 15
- Unity Learning for Day 16
- Unity Learning for Day 17
- Unity Learning for Day 19
- Unity Learning for Day 20
- Unity Learning for Day 21
- Unity Learning for Day 22
- Unity Learning for Day 24
- UVA - 494 Kindergarten Counting Game
- Hierarchical and recursive queries in SQL
- OC中对Core Data的操作
- poj1789 Truck History
- sed的使用(2)
- Learning the 02 day for ios
- TCP和UDP的区别
- android architecture
- POJ3270 Cow Sorting【置换群】【间接排序】
- 设计模式笔记-原型模式
- Java 多线程之--ThreadLocal 简介
- 关于 UML 模型(Visio的说明)
- Objective-c 图片验证码
- Using Spring to Receive JMS Messages