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

有在实际项目中使用ARC的吗?

  •  
  •   fly2never · Nov 24, 2011 · 5502 views
    This topic created in 5310 days ago, the information mentioned may be changed or developed.
    不知道是否成熟可用了,看起来可以省去很多花在内存管理上的时间.
    5 replies    1970-01-01 08:00:00 +08:00
    keakon
        1
    keakon  
       Nov 24, 2011
    其实也没觉得方便,临时要用时还得声明成__unsafe_unretained,而函数的形参基本上都要声明成这个才能避免多余的retain/release。

    和C API打交道时好像也有诸多限制。
    ytzong
        2
    ytzong  
       Nov 24, 2011
    尝试用了一下还是放弃了
    第三方库还没跟进,即便 -fno-objc-arc 也会有问题
    snx
        3
    snx  
       Nov 27, 2011
    第三方库使用-fno-objc-arc沒有太大問題
    使用最新的Xcode 4.2下,beta時問題多一些
    snx
        4
    snx  
       Nov 27, 2011
    說真的ARC真的省去很多時間,新的項目正在Waiting review, 使用了大量第三方(基本上沒有ARC, Restkit, ShareKit and more.. )在實機上運行沒有太大問題
    guoxx_
        5
    guoxx_  
       Nov 27, 2011
    个人反而觉得不习惯 手动retain release也挺好得的
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1036 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 19:09 · PVG 03:09 · LAX 12:09 · JFK 15:09
    ♥ Do have faith in what you're doing.