
iOS
文章平均质量分 77
bee_131
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Programming in Objective-C 学习笔记01
PART I —— The Objective-C Language(ch.2-4)在Obj-C中,一个class包含两部分: @interface:继承关系,{实例变量},方法声明 @implementation:@interface中声明的方法的实现代码命名: 基础规则: 选择范围:下划线,字母,数字0-9不能以数字开头不能选择关键字Obj-C大小写敏感好的原则: clas原创 2016-03-10 18:42:02 · 323 阅读 · 0 评论 -
Programming in Objective-C 学习笔记10——Cocoa, Cocoa Touch and the iOS SDK
PART III —— Cocoa, Cocoa Touch and the iOS SDKchapter 20, 21Introduction to Cocoa and Cocoa Touchframework layers (Mac OS X)Writing iOS ApplicationsClass Prefix:设置类名前缀原创 2016-03-10 19:11:09 · 450 阅读 · 0 评论 -
Programming in Objective-C 学习笔记09——对象复制与归档
chapter 18-19Copy Objects复制对象 → Foundation中的方法:copy和mutableCopyprotocol:<NSCopying> , <NSMutableCopying>→ 在自己写的class中使用mutable复制不要求object是mutable;immutable不要求object是immutable原创 2016-03-10 19:08:16 · 433 阅读 · 0 评论 -
Programming in Objective-C 学习笔记08——文件和ARC
Working with filesNSFileManager: 对文件和目录的基本操作Create a new file Read from an existing file Write data to a file Rename a file Remove (delete) a file Test for the existence of a file原创 2016-03-10 19:06:02 · 349 阅读 · 0 评论 -
Programming in Objective-C 学习笔记07——Foundation框架基础01
PART II —— Foundation FrameworkChapter 14-15Introductiona framework is a collection of classes, methods, functions and documentation logically grouped together to make developing programs easier.原创 2016-03-10 19:04:29 · 416 阅读 · 0 评论 -
Programming in Objective-C 学习笔记06 —— Preprocessor
The Preprocessor从语言上定制Objective-C,使其适应自己的编程风格或特定的编程应用是编译过程的一部分,识别散布在程序中的特定语句“#”开头#define给符号名称指派程序常量(包括但不限于)原创 2016-03-10 19:02:39 · 276 阅读 · 0 评论 -
Programming in Objective-C 学习笔记05——Category和Protocol
Chapter 11 Categories and Protocols主要内容:CategoriesProtocolsCategories将类的定义模块化到相关方法的组或分类中扩展现有类的定义而无需获取源代码,也不用创建子类原创 2016-03-10 19:00:35 · 336 阅读 · 0 评论 -
Programming in Objective-C 学习笔记04——变量和数据类型
Chapter 10 More on Variables and Data Types主要内容:variable scopeinitialization methods for objectsdata types in more detail ——enum枚举初始化initialization methods:初始化+赋初值override init方法的“模板”syntax :原创 2016-03-10 18:57:15 · 312 阅读 · 0 评论 -
Programming in Objective-C 学习笔记02
PART I —— The Objective-C Language (ch.5-8)for循环过程:Step1:index variable赋初值Step2:循环条件判断 → 执行循环体前先做一次判断 true则执行循环体false则直接跳出循环,继续程序Step3:计算更新index variable的表达式 loop expression原创 2016-03-10 18:44:20 · 404 阅读 · 0 评论 -
Programming in Objective C学习笔记03——多态、动态绑定和动态类型
PART I —— The Objective-C Language (ch.9)Polymorphism 多态同名的method,不同的class运行时系统总是携带有关“对象属于哪个类”的信息 → This enables it to make key decisions at runtime instead of at compile time.Each class definition原创 2016-03-10 18:50:24 · 351 阅读 · 0 评论 -
iOS主要设备支持的视频格式
iPhone 5/5s/5c/6/6p, iPad Air, iPad mini 2iPad 3/4, iPad mini 2H.264视频支持 HP level 4.1iPhone 4/4s, iPad 1/2, iPod Touch 4/5H.264视频支持 720p, 30fps, MP level 3.1iPod Touch 6H.264视频支持 1080p, 30fps, MP level原创 2016-04-06 15:16:55 · 5128 阅读 · 0 评论