- 博客(14)
- 资源 (73)
- 收藏
- 关注
原创 RunLoop
源码Demo:https://github.com/baitxaps/BlockRunLoop :运行循环,兜圈圈1.基本作用:保存程序的持续运行处理App中的各种事件(触摸事件、定时器事件,Selector事件)节省CPU资源,提高程序性能:该做事时做事,该休息时休息2.int main(int argc, const char * argv[]) {
2016-08-14 22:40:01 431
原创 iOS9新特性
一、关键字迎合swift,提高开发规范,减少程序员之间的交流1.@property(nonatomic,strong,nullable)NSString *name;@property(nonatomic,strong)NSString * _Nullable name;@property(nonatomic,strong)NSString * __nullable name;
2016-08-14 22:18:26 406
原创 iOS-Design-Patterns
《设计模式之禅》原书Java源码全部翻译成Objective-C,学iOS的童鞋可以下载电子版:http://download.csdn.net/detail/baitxaps/9602132来参考学习#iOS-Design-Patterns《[设计模式之禅](http://download.csdn.net/detail/baitxaps/9602132)》原书,
2016-08-13 01:01:42 777
原创 桥梁模式
源码:https://github.com/baitxaps/BridegPattern.git桥梁模式(Bridge Pattern)定义:Decouple an abstraction from its implementation so that the two can vary independently.(将抽象和实现解耦,使得两者可以独立地变化。)Abstraction抽象
2016-08-12 21:36:05 305
原创 享元模式
源码:https://github.com/baitxaps/FlyweightPattern.git定义:Use sharing to support large numbers of fine-grained objects efficiently.(使用共享对象可有效地支持大量的细粒度的对象。)享元模式的定义为我们提出了两个要求:细粒度的对象和共享对象。要求细粒度对象,那
2016-08-12 19:01:08 407
原创 解释器模式
源码:https://github.com/baitxaps/InterpreterPattern解释器模式:Given a language, define a representation for its grammar along with an interpreter that uses the representation to interpret sentences in the
2016-08-11 21:19:42 351
原创 状态模式
源码:https://github.com/baitxaps/StatePattern状态模式:Allow an object to alter its behavior when its internal state changes. The object will appear to change its classes.(当一个对象内在状态改变时允许其改变行为,这个对象看起来像改变了其类
2016-08-11 18:06:08 245
原创 访问者模式
源码:https://github.com/baitxaps/VistitorPattern.git访问者模式:represent an operation to be performed on the elements of an object structure. Visitor lets you define a new operation without changing the cl
2016-08-09 16:50:24 343
原创 备忘录模式
源码:https://github.com/baitxaps/MementoPattern/tree/master-1.2https://github.com/baitxaps/MementoPattern备忘录模式:Without violating encapsulation, capture and externalize an object's internal sta
2016-08-09 01:52:13 314
原创 门面模式
源码:https://github.com/baitxaps/FacadePattern门面模式:Provide a unified interface to a set of interfaces in a subsystem. Facade defines a higher-level interface that makes the subsystem easier to use.(
2016-08-05 22:39:04 317
原创 观察者模式
源码:https://github.com/baitxaps/ObserverPattern观察者模式Define a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automaticall
2016-08-05 18:13:33 309
原创 组合模式
源码:https://github.com/baitxaps/CompositePattern/tree/master-2.1https://github.com/baitxaps/CompositePattern/tree/master-2.0https://github.com/baitxaps/CompositePattern组合模式:Composite obje
2016-08-03 21:35:37 292
原创 迭代器模式
源代码:https://github.com/baitxaps/IteratorPattern迭代器模式:Provide a way to access the elements of an aggregate object sequentially without exposing its underlying representation(它提供一种方法访问一个容器对象中各个元素,而又不需
2016-08-02 14:49:44 362
原创 适配器模式
源码:https://github.com/baitxaps/AdapterPattern适配器模式:Convert the interface of a class into another interface clients expect. Adapter lets classes work together that couldn't otherwise because of inc
2016-08-01 20:08:14 298
Reveal20破解
2019-03-05
UIImage+ImageEffects
2015-07-12
缓动函数与关键帧
2015-07-11
FFmpeg for iOS
2015-05-03
程序员面试宝典第三版_高清扫描
2013-03-23
Learn iPhone and iPad cocos2d Game Development
2012-09-10
grid表格绘制
2012-07-09
iphone+SDK3+开发指南源代码
2011-10-15
程序员面试宝典
2011-10-06
PowerDataRecovery.
2011-10-04
计算机英语资料.doc
2011-05-24
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人