Xcode 4.5

2012-09-20 18:29:33 +08:00
 willmouse
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.
4330 次点击
所在节点    iDev
10 条回复
fmfsaisai
2012-09-20 19:05:32 +08:00
PrideChung
2012-09-20 19:13:02 +08:00
memory leak的问题有好点么。
willmouse
2012-09-20 20:22:00 +08:00
@fmfsaisai 我记得这个literal synatx是Objc 2.0加的吧,和Xcode 4.5这次更新貌似没太大关系?
acen
2012-09-20 20:37:12 +08:00
用了gm版以后经常出现无法与连接的设备通信,内存也经常泄漏。不知道正式版改了么
ybian
2012-09-20 21:16:24 +08:00
@acen 正式版跟GM是一个版本
fmfsaisai
2012-09-21 14:28:06 +08:00
@willmouse

• Objective-C adds literal syntax for numbers, arrays, dictionaries, and expressions.
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
2012-09-21 14:35:52 +08:00
4.4的时候支持部分的literal语法的,但是不支持Object Subscripting,比如:

dict[@"key"] = @12.5;

4.5的时候就彻底支持了。
willmouse
2012-09-21 15:23:54 +08:00
@fmfsaisai 了解,3Q
fly2never
2012-09-21 21:35:02 +08:00
@fmfsaisai 4.4只支持osx的Object Subscripting,不支持iOS
4.5都支持了

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/48327

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX