
见: http://adcdownload.apple.com/WWDC_2015/Xcode_7_beta/Xcode_7_beta_Release_Notes.pdf
有几个更新是我最喜欢的了:
Xcode 7
2. AppTinning 技术中提到: 提交的应用包含的是bitcode 一种 LLVM中间码,而不是二进制了
Bitcode. Archive for upload to the App Store in an intermediate LLVM binary representation that the store
can then optimize into the 64 or 32-bit executable to be delivered to customers.
这样使得下面这样的代码显得很自然:
if #available(iOS 8.0, OSX 10.10, *) { // Use Handoff APIs when available. let activity = NSUserActivity(activityType:"com.example.ShoppingList.view") activity.becomeCurrent() } else { // Fall back when Handoff APIs not available. } 也就是说实际在用户的设备中,在编译期就减少了很多运行分支,也减少了应用的体积.
InterfaceBuilder 提供了对多Storyboard中关联支持:
Interface Builder supports placeholder references for scenes in other storyboards, and segues that cross
storyboard boundaries.
之前我使用过 AOLinkedSegue来处理这种问题.
Objective-C 中的集合类型,也支持的类型声明,可以更好的转译成 Swift 接口
如:
NSArray<UIImage *> *images; NSDictionary<NSString *, NSURL *> *resourcesByName; PS: Xcode 7 正在下载中,希望 Playground 可以跑得更快了,(之前的体验是经常,出错了,就不动了,经常重新打开)
1 hdbean 2015-06-09 10:41:47 +08:00 Sorry, you cannot view this page. |
2 janxin 2015-06-09 10:45:39 +08:00 |
3 janxin 2015-06-09 10:46:18 +08:00 这个应该是限制了来源...一不小心居然连接发出去了... |
4 powtop 2015-06-09 10:46:59 +08:00 能否appstore 直接更新 |
6 kavi 2015-06-09 11:15:14 +08:00 伸手党求一个百度盘的下载 |
7 fly2never 2015-06-09 11:27:09 +08:00 |
8 fly2never 2015-06-09 11:28:03 +08:00 UIStackView不错 |
9 fly2never 2015-06-09 11:28:33 +08:00 |
10 banxi1988 OP @powtop beta 版本向来不能 App Store直接更新. 其实 App Store直接更新也是全新下载的. |
12 marginleft 2015-06-09 14:03:40 +08:00 @kavi 有些地方从官方下载比较慢,可以到百度网盘下载:br />http://pan.baidu.com/s/1hqiukra |
13 kavi 2015-06-09 16:19:30 +08:00 @marginleft 感谢! |
14 thedevil5032 2015-06-09 21:46:29 +08:00 via iPhone |
15 thedevil5032 2015-06-09 21:47:55 +08:00 via iPhone Swift 2.0 @testable import 可以直接测试 internal entities |