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

Xcode 4.5

  •  
  •   willmouse ·
    weih · 2012-09-20 18:29:33 +08:00 · 4579 次点击
    这是一个创建于 4484 天前的主题,其中的信息可能已经有所发展或是发生改变。
    http://itunes.apple.com/cn/app/xcode/id497799835?mt=12

    • SDKs for OS X 10.8 Mountain Lion and iOS 6.
    • Auto Layout now supported on both OS X and iOS.
    • New localization workflow can share a single base .xib or .storyboard file for multiple locales.
    • OpenGL debugger for iOS analyzes performance and suggests improvements.
    • Debugger watchpoints can be set when running on a connected iOS device.
    • Objective-C @synthesize command is generated by default when using properties.
    • Objective-C adds literal syntax for numbers, arrays, dictionaries, and expressions.
    • Xcode 4.5 runs on both OS X Lion and OS X Mountain Lion.
    • Enhanced for the MacBook Pro with Retina display.
    • Additional bug fixes and stability improvements.
    10 条回复    1970-01-01 08:00:00 +08:00
    fmfsaisai
        1
    fmfsaisai  
       2012-09-20 19:05:32 +08:00
    PrideChung
        2
    PrideChung  
       2012-09-20 19:13:02 +08:00
    memory leak的问题有好点么。
    willmouse
        3
    willmouse  
    OP
       2012-09-20 20:22:00 +08:00
    @fmfsaisai 我记得这个literal synatx是Objc 2.0加的吧,和Xcode 4.5这次更新貌似没太大关系?
    acen
        4
    acen  
       2012-09-20 20:37:12 +08:00
    用了gm版以后经常出现无法与连接的设备通信,内存也经常泄漏。不知道正式版改了么
    ybian
        5
    ybian  
       2012-09-20 21:16:24 +08:00
    @acen 正式版跟GM是一个版本
    fmfsaisai
        6
    fmfsaisai  
       2012-09-21 14:28:06 +08:00
    @willmouse

    • Objective-C adds literal syntax for numbers, arrays, dictionaries, and expressions.
    fmfsaisai
        7
    fmfsaisai  
       2012-09-21 14:31:45 +08:00
    @willmouse
    what does literal syntax do:

    http://adcdownload.apple.com//wwdc_2012/wwdc_2012_session_pdfs/session_405__modern_objectivec.pdf

    严格说这其实不是一个Objective-C的特性,而是一个编译器的特性,最终还是会转化成之前的Objective-C的语法的。
    fmfsaisai
        8
    fmfsaisai  
       2012-09-21 14:35:52 +08:00   ❤️ 1
    4.4的时候支持部分的literal语法的,但是不支持Object Subscripting,比如:

    dict[@"key"] = @12.5;

    4.5的时候就彻底支持了。
    willmouse
        9
    willmouse  
    OP
       2012-09-21 15:23:54 +08:00
    @fmfsaisai 了解,3Q
    fly2never
        10
    fly2never  
       2012-09-21 21:35:02 +08:00
    @fmfsaisai 4.4只支持osx的Object Subscripting,不支持iOS
    4.5都支持了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1168 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 23:17 · PVG 07:17 · LAX 15:17 · JFK 18:17
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.