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
Cee
V2EX  ›  iDev

Objective-C Prefixes: A Thing of the Past?

  •  
  •   Cee ·
    Cee · 2015-04-20 08:38:29 +08:00 · 2768 次点击
    这是一个创建于 3284 天前的主题,其中的信息可能已经有所发展或是发生改变。
    7 条回复    2015-04-20 13:21:25 +08:00
    RIcter
        1
    RIcter  
       2015-04-20 08:39:48 +08:00
    菊苣
    futursolo
        2
    futursolo  
       2015-04-20 09:28:11 +08:00
    写Objective-C的菊苣

    (~ ̄▽ ̄)ノ

    Python小白看着你...
    kepenj
        3
    kepenj  
       2015-04-20 09:28:53 +08:00
    mask
    Knights
        4
    Knights  
       2015-04-20 09:43:06 +08:00
    是类名可以写相同的了么,感觉这样用的时候会很混乱啊
    yaqink
        5
    yaqink  
       2015-04-20 12:29:37 +08:00
    這個是重點「prefix frameworks, not app code」
    WildCat
        6
    WildCat  
       2015-04-20 12:36:14 +08:00 via iPhone
    顶大神⊙▽⊙
    jaminzzhang
        7
    jaminzzhang  
       2015-04-20 13:21:25 +08:00
    写惯了OC,现在写Android,UI不加前缀,但逻辑层还是习惯加前缀,感觉这样可以避免引用错,比如,很多库都有个Constants,而你自己也很可能会有。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1447 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 17:21 · PVG 01:21 · LAX 10:21 · JFK 13:21
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.