V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
iOS 开发实用技术导航
NSHipster 中文版
http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
http://www.cocos2d-iphone.org/
CocoaPods
http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
http://code.google.com/mobile/analytics/
WWDC
https://developer.apple.com/wwdc/
Design Guides and Resources
https://developer.apple.com/design/
Transcripts of WWDC sessions
http://asciiwwdc.com
Cocoa with Love
http://cocoawithlove.com/
Cocoa Dev Central
http://cocoadevcentral.com/
NSHipster
http://nshipster.com/
Style Guides
Google Objective-C Style Guide
NYTimes Objective-C Style Guide
Useful Tools and Services
Charles Web Debugging Proxy
Smore
undozen
V2EX  ›  iDev

Objective-C 代码要怎样上手读呢?还有 Google 里面如何搜索符号?

  •  
  •   undozen ·
    undoZen · 2013-06-01 14:32:05 +08:00 · 3197 次点击
    这是一个创建于 3987 天前的主题,其中的信息可能已经有所发展或是发生改变。
    觉得读别人代码是进步飞快的。大家对使用 Xcode 阅读开源代码有什么经验可以分享吗?

    从何入手读?读的时候有哪些技巧,哪些 Xcode 提供的 feature 可帮助。

    我读到这样的代码
    void (^handler) (NSEvent *event);
    handler = ^(NSEvent *event) {
    不知道 ^ 的意思,如何 Google 到呢?Google 会忽略符号。
    4 条回复    1970-01-01 08:00:00 +08:00
    offspring
        1
    offspring  
       2013-06-01 14:44:34 +08:00
    这个是block...
    luikore
        2
    luikore  
       2013-06-01 14:49:29 +08:00
    google code search
    stoprain
        3
    stoprain  
       2013-06-01 14:52:12 +08:00
    Google 可以搜到啊,你还可以试试 “^ symbol” 或者 “^ operator”。
    darcy
        4
    darcy  
       2013-06-01 14:56:27 +08:00
    先看
    http://www.otierney.net/objective-c.html.zh-tw.big5
    http://cocoadevcentral.com/d/learn_objectivec/
    再看苹果官方的Sample Code,里面都是比较好的开发例子,看完后做大部分的应用类程序都没问题。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2283 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 07:16 · PVG 15:16 · LAX 00:16 · JFK 03:16
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.