随笔分类 -  Xcode

使用技巧,以及常见的 warning 和 error 的解决
Xcode 杂七杂八
摘要:一、Exception 的捕捉 1、message send to dealloc instance a, 输出控制台(lldb)后面输入:c + enter, 找到对应的行 b, po [object address name], 找到哪个原因 2、在 appDelegate.m 里面添加下面语句 阅读全文

posted @ 2014-03-26 09:42 EileenLeung 阅读(293) 评论(0) 推荐(0)

文档生成工具 appledoc
摘要:参考文章1、安装:$ git clone git://github.com/tomaz/appledoc.git$ cd appledoc$ sudo sh install-appledoc.sh2、注释添加规则:1)多行注释 /** 多行注释 (/* 不会被捉取 */)*/2) 单行注释//// 单行注释 // 不会被捉取3) @brief 简要说明 @param 参数说明 @param name description @return 返回值说明 @exception 描述 exception4)对于同一个方法不能出现两个或两个以上地方的文档注释,否则.h文件里的注释会覆... 阅读全文

posted @ 2014-02-16 14:36 EileenLeung 阅读(255) 评论(0) 推荐(0)

编译运行错误汇集
摘要:1、error: can't allocate region 死循环导致内存不足 2、wait_fences: failed to receive reply: 10004003 (还没有找到原因) 3、 file is universal (3 slices) but does not conta 阅读全文

posted @ 2014-01-04 17:50 EileenLeung 阅读(1383) 评论(0) 推荐(0)

Difference Search Path
摘要:1、Framework Search Path where to searchframeworks(.frameworkbundles) in addition to system frameworks paths. Not used very much in iOS development, officially there is no developer iOS frameworks.2、Header Search Path where to search for header files (.hfiles) in addition to system paths. Usual... 阅读全文

posted @ 2014-01-04 17:31 EileenLeung 阅读(206) 评论(0) 推荐(0)

Xcode Shortcuts
摘要:Description:⌘: Command ⌥: Option ⌃: Control ←↑↓→: Left, Up, Down, Right ⌫: Delete ↩: Enter ⇧: Shift →|: Tab ⇪: Caps LockWorkspace Preferences:⌘ + ,Selecting Files File History popup: ⌃ 1 Previous file: ⌘⌃← Next file: ⌘⌃→ Toggle .h and .m: ⌘⌃↑ / ⌘⌃↓ Open quickly: ⌘⇧ OBuilding... 阅读全文

posted @ 2014-01-04 17:29 EileenLeung 阅读(240) 评论(0) 推荐(0)