<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[叶落寒]]></title><description><![CDATA[~~~~~]]></description><link>https://blog.youkuaiyun.com/luoyeffcs</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; luoyeffcs]]></copyright><item><title><![CDATA[iOS IPC 线程通信]]></title><link>https://blog.youkuaiyun.com/luoyeffcs/article/details/79368406</link><guid>https://blog.youkuaiyun.com/luoyeffcs/article/details/79368406</guid><author>luoyeffcs</author><pubDate>Sun, 25 Feb 2018 13:49:12 +0800</pubDate><description><![CDATA[iOS IPC 线程通信



iOS IPC 线程通信
performSelectoronThread
NSMachPort
GCD






在iOS中 线程通信有两种方式：


performSelector:onThread
NSMachPort
GCD


performSelector:onThread


//在指定线程调用
[self performSelector:@selec...]]></description><category></category></item><item><title><![CDATA[iOS锁总结]]></title><link>https://blog.youkuaiyun.com/luoyeffcs/article/details/79368365</link><guid>https://blog.youkuaiyun.com/luoyeffcs/article/details/79368365</guid><author>luoyeffcs</author><pubDate>Sun, 25 Feb 2018 13:41:40 +0800</pubDate><description><![CDATA[iOS锁总结



iOS锁总结
自旋锁
dispatch_semaphore
信号量与互斥锁的区别
生产者消费者模式
NSCondition
NSConditionLock
pthread_mutex
读写锁






iOS开发中关于锁整理了下，有以下几种：



比价常用的是：


dispatch_semaphore
NSLock
NSCondition, NSConditionLock...]]></description><category></category></item><item><title><![CDATA[关联对象]]></title><link>https://blog.youkuaiyun.com/luoyeffcs/article/details/27967193</link><guid>https://blog.youkuaiyun.com/luoyeffcs/article/details/27967193</guid><author>luoyeffcs</author><pubDate>Sun, 01 Jun 2014 14:28:50 +0800</pubDate><description><![CDATA[1.基本资料
enum {
    OBJC_ASSOCIATION_ASSIGN = 0,           /**< Specifies a weak reference to the associated object. */
    OBJC_ASSOCIATION_RETAIN_NONATOMIC = 1, /**< Specifies a strong reference to t]]></description><category></category></item><item><title><![CDATA[类别，非正式协议，正式协议]]></title><link>https://blog.youkuaiyun.com/luoyeffcs/article/details/27967083</link><guid>https://blog.youkuaiyun.com/luoyeffcs/article/details/27967083</guid><author>luoyeffcs</author><pubDate>Sun, 01 Jun 2014 14:26:37 +0800</pubDate><description><![CDATA[类别，非正式协议，正式协议
1类别：
1.1 不能添加新的实例变量
1.2 如果一定要在类别中使用实例标量，可以使用全局变量 关联 额外变量

注：Cocoa中没有任何真正的私有方法，只要知道对象支持的某个方法名称，即使.h中没有声明，也可以调用该方法。个人理解是OC的动态机制

2非正式协议
即创建一个NSObject的类别（包括NSObject的子类）
注：在OC-2.0 正]]></description><category></category></item><item><title><![CDATA[2013-12-OC新语法小结]]></title><link>https://blog.youkuaiyun.com/luoyeffcs/article/details/18615063</link><guid>https://blog.youkuaiyun.com/luoyeffcs/article/details/18615063</guid><author>luoyeffcs</author><pubDate>Tue, 21 Jan 2014 16:29:21 +0800</pubDate><description><![CDATA[1.方法与顺序无关


2.枚举绑定数据类型
enum {
    ObjectiveC,
    Java,
    Ruby,
    Python,
    Erlang
};
typedef NSUInteger Language;


3. 属性不用写@synthesize


4.语法简化
4.1 NSNumber
NSNumber *value;]]></description><category></category></item><item><title><![CDATA[2013-12-IOS 获取最新设备型号方法]]></title><link>https://blog.youkuaiyun.com/luoyeffcs/article/details/18610839</link><guid>https://blog.youkuaiyun.com/luoyeffcs/article/details/18610839</guid><author>luoyeffcs</author><pubDate>Tue, 21 Jan 2014 15:52:10 +0800</pubDate><description><![CDATA[1.IOS 获取最新设备型号方法
列表最新对照表：http://theiphonewiki.com/wiki/Models
方法：
#import "sys/utsname.h”
 struct utsname systemInfo;
    uname(&systemInfo);

    NSString *deviceString = [NSString stringWithCStr]]></description><category></category></item><item><title><![CDATA[2013-11-BASE64]]></title><link>https://blog.youkuaiyun.com/luoyeffcs/article/details/18605797</link><guid>https://blog.youkuaiyun.com/luoyeffcs/article/details/18605797</guid><author>luoyeffcs</author><pubDate>Tue, 21 Jan 2014 15:27:03 +0800</pubDate><description><![CDATA[1.BASE64资料
Base64是一种基于64个可打印字符来表示二进制数据的表示方法。由于2的6次方等于64，所以每6个位元为一个单元，对应某个可打印字符。三个字节有24个位元，对应于4个Base64单元，即3个字节需要用4个可打印字符来表示。它可用来作为电子邮件的传输编码。在Base64中的可打印字符包括字母A-Z、a-z、数字0-9，这样共有62个字符，此外两个可打印符号在不同的系统中而不]]></description><category></category></item><item><title><![CDATA[2013-11-UIScrollViewDelegate]]></title><link>https://blog.youkuaiyun.com/luoyeffcs/article/details/18605651</link><guid>https://blog.youkuaiyun.com/luoyeffcs/article/details/18605651</guid><author>luoyeffcs</author><pubDate>Tue, 21 Jan 2014 15:23:17 +0800</pubDate><description><![CDATA[UIScrollViewDelegate
1.方法]]></description><category></category></item><item><title><![CDATA[2013-11-序列化与编码，地图计算距离]]></title><link>https://blog.youkuaiyun.com/luoyeffcs/article/details/18605497</link><guid>https://blog.youkuaiyun.com/luoyeffcs/article/details/18605497</guid><author>luoyeffcs</author><pubDate>Tue, 21 Jan 2014 15:17:33 +0800</pubDate><description><![CDATA[1.序列化与编码
编码与序列化：
有需要要保存自定义的class，NSUserDefault不能存储，只能通过编码与序列化的方式后存储到userdefault。
编码：class—>nsdata，序列化：nsdata->clas.自定义的类必须实现NSCoding协议。实现该协议的两个方法，如下：

@interface labelContentList : NSObject //酒店标]]></description><category></category></item><item><title><![CDATA[UINavigationItem UINavigationBar 关系分析]]></title><link>https://blog.youkuaiyun.com/luoyeffcs/article/details/16106707</link><guid>https://blog.youkuaiyun.com/luoyeffcs/article/details/16106707</guid><author>luoyeffcs</author><pubDate>Thu, 14 Nov 2013 01:06:54 +0800</pubDate><description><![CDATA[目录
1.关系分析
2.关系综述
3.概念点
4.疑问


1.关系分析
UIBarItem-> UIBarButtonItem -> UINavigationItem
1.1 UIBarItem:
UIBarItem类是一个可以放置在Bar之上的所有小控件类的抽象类。继承了该基类所有子类在外观上类似于一个Button，它们都有一个标题，图片，动作以及目标，这点可以从其子类的初]]></description><category></category></item><item><title><![CDATA[IOS-runtime-1（笔记版）]]></title><link>https://blog.youkuaiyun.com/luoyeffcs/article/details/15940459</link><guid>https://blog.youkuaiyun.com/luoyeffcs/article/details/15940459</guid><author>luoyeffcs</author><pubDate>Wed, 13 Nov 2013 19:38:47 +0800</pubDate><description><![CDATA[文档：Objective-C Runtime Programming Guide
大概意思（有时间详细整理该章节）：


Objectvie-c Runtime
The runtime system acts as a kind of opeatim system for the Objective-C language.


1.Runtime Versions and Plat]]></description><category></category></item><item><title><![CDATA[ios 适配6和7 XIB部分]]></title><link>https://blog.youkuaiyun.com/luoyeffcs/article/details/15812653</link><guid>https://blog.youkuaiyun.com/luoyeffcs/article/details/15812653</guid><author>luoyeffcs</author><pubDate>Wed, 13 Nov 2013 14:30:31 +0800</pubDate><description><![CDATA[官网文档上，明确说了怎么适配6,见 -Supporting iOS 6
大致内容介绍:


1.Supporting iOS 6
这个是单独在xib上看每个界面不同版本的样子







2.开发中，可以用preview观察在IOS6和7上的外观，如下图




右下角的 ios6/7 Deltas,Deltas的意思你可以理解为增量.相对增量.3可以调整相应]]></description><category></category></item><item><title><![CDATA[关于获取键盘通知信息的处理]]></title><link>https://blog.youkuaiyun.com/luoyeffcs/article/details/12681511</link><guid>https://blog.youkuaiyun.com/luoyeffcs/article/details/12681511</guid><author>luoyeffcs</author><pubDate>Sun, 13 Oct 2013 16:57:37 +0800</pubDate><description><![CDATA[1.NSValue:
NSValue提供了简单的容器来包含C或Objective-C数据项。可以容纳任何基本数据类型如char，int，float，double，以及指针，结构体和对象ids。NSArray和NSSet集合类对象要求它们的元素为对象类型，NSValue的主要目的是使这些数据类型可以添加至集合中。NSValue对象是不可变类型。
简而言之，NSValue是基本数据类型或自定义数据]]></description><category></category></item><item><title><![CDATA[Class Extensions -匿名类别]]></title><link>https://blog.youkuaiyun.com/luoyeffcs/article/details/12676937</link><guid>https://blog.youkuaiyun.com/luoyeffcs/article/details/12676937</guid><author>luoyeffcs</author><pubDate>Sun, 13 Oct 2013 11:44:49 +0800</pubDate><description><![CDATA[.Class Extensions
跟类别的行为很像，被成为匿名类别。跟类别不同的时，Extension里面可以存放实体变量，而且在Extension内实现的方法，在implementation一定要实现。
基本形式：

@interface XYZPerson ()

@property NSObject *extraProperty;

@end



Extension 主要]]></description><category></category></item><item><title><![CDATA[IOS 4，5和6上对设备方向支持方法的变更]]></title><link>https://blog.youkuaiyun.com/luoyeffcs/article/details/12676915</link><guid>https://blog.youkuaiyun.com/luoyeffcs/article/details/12676915</guid><author>luoyeffcs</author><pubDate>Sun, 13 Oct 2013 11:40:24 +0800</pubDate><description><![CDATA[在IOS4,5上，设备的支持方向是每个view controller定义，默认是只能portrait，修改的话调用shouldAutorotateToInterfaceOrientation:方法，如：

-(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation {]]></description><category></category></item><item><title><![CDATA[Plist--数据持久化1]]></title><link>https://blog.youkuaiyun.com/luoyeffcs/article/details/10087839</link><guid>https://blog.youkuaiyun.com/luoyeffcs/article/details/10087839</guid><author>luoyeffcs</author><pubDate>Mon, 19 Aug 2013 23:19:36 +0800</pubDate><description><![CDATA[数据持久化 -- Plist
1.Plist(Property List) 文件是一种用来存储串行化后的对象文件。
2.创建方式，可视化创建和代码创建，注：通过可视化创建的plist文件是存放的Bundle包种，可读不能修改。
2.1 可视化 创建：
Resource -- Property List，然后增加需要的Key-value。
读取：
NSString *path=[[NSB]]></description><category></category></item><item><title><![CDATA[本地Svn的搭建]]></title><link>https://blog.youkuaiyun.com/luoyeffcs/article/details/9745433</link><guid>https://blog.youkuaiyun.com/luoyeffcs/article/details/9745433</guid><author>luoyeffcs</author><pubDate>Sun, 04 Aug 2013 11:21:50 +0800</pubDate><description><![CDATA[在大概了解下Subversions的基本原理后，开始搭建本地Svn，方便以后版本控制
1.前期准备
1.2.Svn server 采用Mac 自带的，需要安装Xcode 里面的command line Tools（preferences--Downloads--command Line Tools）
1.2.Svn Client 采用SmartSvn


2.Svn Server 安装]]></description><category></category></item><item><title><![CDATA[Subversions的基本原理]]></title><link>https://blog.youkuaiyun.com/luoyeffcs/article/details/9737693</link><guid>https://blog.youkuaiyun.com/luoyeffcs/article/details/9737693</guid><author>luoyeffcs</author><pubDate>Sun, 04 Aug 2013 00:34:48 +0800</pubDate><description><![CDATA[1.subversion 的架构


2.subversion的组件

svn，svnversion，svnlook，svnadmin，mod_dav_svn，svnserve，svndumpfilter，svnsync。
3.基本概念

3.1. checkout 拷贝一份到本地
commit 将修改的提交带服务器版本
update 更新
3.2 Svn解决方案： 拷贝-合]]></description><category></category></item><item><title><![CDATA[block学习]]></title><link>https://blog.youkuaiyun.com/luoyeffcs/article/details/9428079</link><guid>https://blog.youkuaiyun.com/luoyeffcs/article/details/9428079</guid><author>luoyeffcs</author><pubDate>Tue, 23 Jul 2013 20:54:24 +0800</pubDate><description><![CDATA[block
1.是匿名函数，（anonymous function），没有名字的函数，意义？？
2.基本格式



2.block可以做为变量，直接传递，不需要声明，如：


其中，最后一个是一个block的变量




3. block functionality:有 参数、返回值、可以使用或修改作域内变量等,与其他blockshare、在其他作用域销毁后与其他blo]]></description><category></category></item><item><title><![CDATA[IOS MKMapKit 画圆，设置范围]]></title><link>https://blog.youkuaiyun.com/luoyeffcs/article/details/9182635</link><guid>https://blog.youkuaiyun.com/luoyeffcs/article/details/9182635</guid><author>luoyeffcs</author><pubDate>Wed, 26 Jun 2013 21:32:01 +0800</pubDate><description><![CDATA[1.在地图上画圆，用 MKCircle，MKCircleView
MKCircle *circleTargePlace=[MKCircle circleWithCenterCoordinate:hotelKeyWord.coordCurrentUser radius:hotelKeyWord.hotelSiftModel.iRadius];
            [mapViewMian ad]]></description><category></category></item></channel></rss>