![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
iOS
zijocs
iOS H5
展开
-
Objective-C 之 NSNotificationCenter vs delegate vs KVO
1 前言 在Objective-C中类与类之间的通信有多种方式,delegate, NSNotificationCenter 和KVO 是最常见最常用的三种技术。 2 NSNotificationCenter vs delegate NSNotificationCenter 和 delegate的区别和使用这篇文章写得非常好,下原创 2015-07-03 12:01:26 · 475 阅读 · 0 评论 -
iOS 并行开发技术之 NSOperation && GCD
一 前言 我的上一篇文章浅析了iOS的多线程技术,提到过NSThread, NSRunloop等相关类,也提到直接基于线程去实现并行开发,多个线程的管理,线程间的通信等等都不是那么容易。并且直接基于线程编程有一个问题是不可能解决的,那就是:The biggest problem is that threaded code does not scale very well to原创 2015-06-28 14:46:27 · 324 阅读 · 0 评论 -
iOS UI 之 简单概述
iOS APP UI组成 简单来说iOS APP UI一般由一个UIWindow 和 一系列层次化的UIView (UIView hierarchy) 及其背后一系列层次化的UIViewController(UIViewController hierarchy)组成。下面再接着分别讲一下组成iOS APP UI的三个重要元素:UIWindow,UIView和UIViewContro原创 2015-08-04 12:58:33 · 334 阅读 · 0 评论 -
iOS 编码 URL Data
iOS Encoding URL Data 我们知道为了服务端能正确识别我们APP传递过来的URL,我们需要编码URL。尽管NSString提供了内建的"adding percent escapes"方法。 - (NSString *)stringByAddingPercentEscapesUsingEncoding:(NSStringEncoding)encodi原创 2015-09-09 10:07:41 · 568 阅读 · 0 评论