<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[forceofwind的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/forceofwind</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; forceofwind]]></copyright><item><title><![CDATA[Objective-c Literals语法（网上翻译为字面量，我称之为@语法 at符号语法）]]></title><link>https://blog.youkuaiyun.com/forceofwind/article/details/42103127</link><guid>https://blog.youkuaiyun.com/forceofwind/article/details/42103127</guid><author>forceofwind</author><pubDate>Tue, 23 Dec 2014 15:15:22 +0800</pubDate><description><![CDATA[Literals（字面语法）

字面语法是的编译器指令，它提供简化符号来创建对象。






NSString:








?





1




NSString 
 *greeting = @"Hello
 World";









    它的语法很简单，上面的代码就是通过在C字符串的前面加上]]></description><category></category></item><item><title><![CDATA[回调 Objective-c 实现研究（未完成）]]></title><link>https://blog.youkuaiyun.com/forceofwind/article/details/42011477</link><guid>https://blog.youkuaiyun.com/forceofwind/article/details/42011477</guid><author>forceofwind</author><pubDate>Thu, 18 Dec 2014 21:08:17 +0800</pubDate><description><![CDATA[在计算机科学里， 回调（Callback）是指将一段可执行的代码以参数（面向对象程序里，也可以通过成员变量赋值的方式）的方式传递给目标代码。目标代码可以在需要的时刻（反向）调用传入的这段代码。
 
回调分为两种:
1. 同步回调（synchronous callbacks），又名阻塞回调（blocking callbacks）
 
2. 异步回调 （asynchronouscallbac]]></description><category></category></item><item><title><![CDATA[深入理解Objective-c中@class的含义]]></title><link>https://blog.youkuaiyun.com/forceofwind/article/details/42010973</link><guid>https://blog.youkuaiyun.com/forceofwind/article/details/42010973</guid><author>forceofwind</author><pubDate>Thu, 18 Dec 2014 20:45:33 +0800</pubDate><description><![CDATA[objective-c中，当一个类使用到另一个类时，并且在类的头文件中需要创建被引用的指针时，
如下面代码：
A.h文件

#import "B.h"@interface A : NSObject {B *b;}@end
为了简单起见：A类是引用类，B类是被引用类，这里先不考虑A类的实现文件。
通常引用一个类有两种办法：
一种是通过#import方式引入；另一种是通过@class引入]]></description><category></category></item><item><title><![CDATA[MAC libXmL2安装指南]]></title><link>https://blog.youkuaiyun.com/forceofwind/article/details/41942691</link><guid>https://blog.youkuaiyun.com/forceofwind/article/details/41942691</guid><author>forceofwind</author><pubDate>Mon, 15 Dec 2014 13:36:34 +0800</pubDate><description><![CDATA[Libxml2 是一个
用c语言编写的XML 解析器和工具包，最初是为Gnome项目开发的，
后来被其他的项目广泛使用，它是一个基于MIT License的免费开源软件。
从Libxml的官方网站 http://www.xmlsoft.org/可以找到其下载页面。以下是两个官方的下载路径：
ftp://xmlsoft.org/libxml2/

https://git.gnome.or]]></description><category></category></item><item><title><![CDATA[NSArray的排序函数]]></title><link>https://blog.youkuaiyun.com/forceofwind/article/details/41863631</link><guid>https://blog.youkuaiyun.com/forceofwind/article/details/41863631</guid><author>forceofwind</author><pubDate>Thu, 11 Dec 2014 10:45:35 +0800</pubDate><description><![CDATA[sortedArrayHint


下面是官方的解释， 只能看懂这个东西是可以作为其他函数的参数用于加速排序的。

Analyzes the array and returns a “hint” that speeds the sorting of the array when the hint is supplied tosortedArrayUsingFunction:context]]></description><category></category></item><item><title><![CDATA[Objective-C selector 学习笔记]]></title><link>https://blog.youkuaiyun.com/forceofwind/article/details/41846255</link><guid>https://blog.youkuaiyun.com/forceofwind/article/details/41846255</guid><author>forceofwind</author><pubDate>Wed, 10 Dec 2014 16:58:55 +0800</pubDate><description><![CDATA[一.认识选择器(Selector)
【注】选择器是一个变量类型
SEL
【注】SEL的变量装消息 类似于函数指针
SEL sel = 
@selector(crash);
[man performSelector:sel];
[man performSelector:@selector(setName:)
withObject:@"Tom"];
【注】performSelecto]]></description><category></category></item><item><title><![CDATA[一步步调试解决iOS内存泄漏]]></title><link>https://blog.youkuaiyun.com/forceofwind/article/details/41847981</link><guid>https://blog.youkuaiyun.com/forceofwind/article/details/41847981</guid><author>forceofwind</author><pubDate>Wed, 10 Dec 2014 16:37:21 +0800</pubDate><description><![CDATA[原帖地址：http://www.cocoachina.com/ios/20141203/10519.html

虽然iOS 5.0版本之后加入了ARC机制，由于相互引用关系比较复杂时，内存泄露还是可能存在。所以了解原理很重要。

这里讲述在没有ARC的情况下，如何使用Instruments来查找程序中的内存泄露，以及NSZombieEnabled设置的使用。

本文假设你已经比较熟悉O]]></description><category></category></item><item><title><![CDATA[C语言的32个关键字]]></title><link>https://blog.youkuaiyun.com/forceofwind/article/details/41806979</link><guid>https://blog.youkuaiyun.com/forceofwind/article/details/41806979</guid><author>forceofwind</author><pubDate>Mon, 08 Dec 2014 19:08:53 +0800</pubDate><description><![CDATA[6个变量内存管理修饰符
auto
register
static

extern
volatile
const



12个数据类型
void
char
short
int
long
float
double
signed
unsigned
enum
struct
union




12个流程控制符
if
else
while
do]]></description><category></category></item><item><title><![CDATA[NSString 用法]]></title><link>https://blog.youkuaiyun.com/forceofwind/article/details/41786003</link><guid>https://blog.youkuaiyun.com/forceofwind/article/details/41786003</guid><author>forceofwind</author><pubDate>Sun, 07 Dec 2014 10:33:44 +0800</pubDate><description><![CDATA[分割字符串


NSString
 *string1 = @"讨厌的节点";

 

/*此处将不想要的字符全部放进characterSet1中，不需另外加逗号或空格之类的，除非字符串中有你想要去除的空格，此处<
 p /等都是单独存在，不作为整个字符*/

 

NSCharacterSet
 *characterSet1 = [NSCharacterSet char]]></description><category></category></item><item><title><![CDATA[NSString 格式符]]></title><link>https://blog.youkuaiyun.com/forceofwind/article/details/41777887</link><guid>https://blog.youkuaiyun.com/forceofwind/article/details/41777887</guid><author>forceofwind</author><pubDate>Sat, 06 Dec 2014 19:35:54 +0800</pubDate><description><![CDATA[String Format Specifiers

This article summarizes the format specifiers supported by string formatting methods and functions.


Format Specifiers
The format specifiers supported by the NSString ]]></description><category></category></item></channel></rss>