Fork me on GitHub

2012年2月24日

摘要: 工程TARGET~ BuildPhrase~ LinkBinaryWithLibraries 加入 : libxml2.2.dylib工程TARGET ~BuildSetting~搜索框中输入: Header Search Path 输入路径 : ${SDKROOT}/usr/include/libxml2.h 头文件: 加入 : import<libxml/tree.h>点开头文件,查看内容: typedef struct _xmlSAXHandler xmlSAXHandler;点开 _xmlSAXHandler ,查看内容 ... 阅读全文
posted @ 2012-02-24 21:36 pengyingh 阅读(581) 评论(0) 推荐(1)
摘要: objectforkey 是NSDictionary的方法,valueforkey 是KVC的方法, 两者都是键值对应,区别是valueforkey 只允许使用NSString类型,objectforkey可以是任意类型. objectForKey:is anNSDictionarymethod. AnNSDictionaryis a collection class similar to anNSArray, except instead of using indexes, it uses keys to differentiate between items. A key is an ar 阅读全文
posted @ 2012-02-24 10:38 pengyingh 阅读(4949) 评论(0) 推荐(0)

导航