几篇有意思的2020 WWDC Session(1)

2,203 阅读5分钟

近期在关注2020 WWDC,我段时间会定期和大家分享一些今年比较有意思的Session主题~

0x01 Macintosh on ARM

mac on arm

Session1:iPad and iPhone apps on Apple Silicon Macs developer.apple.com/videos/play…

Apple Silicon Macs can run many iPad and iPhone apps as-is, and these apps will be made available to users on the Mac through the Mac App Store. Discover how iPad and iPhone apps run on Apple Silicon Macs, and the factors that make your apps come across better. Learn how to test your app for the Mac, and hear about your options for distribution of your apps.

Session2:Port your Mac app to Apple Silicon developer.apple.com/videos/play…

Your porting questions, answered: Learn how to recompile your macOS app for Apple Silicon Macs and build universal apps that launch faster, have better performance, and support the future of the platform. We'll show you how Xcode makes it simple to build a universal macOS binary and go through running, debugging, and testing your app. Learn what changes to low-level code you might need to make, find out how to handle in-process and out-of-process plug-ins, and discover some useful tips for working with universal apps. We've designed this session for experienced macOS developers who want to get their existing apps running natively on Apple Silicon Macs. You can learn more about doing so in the Apple Silicon documentation. For more information on the transition to Apple Silicon, watch "Explore the new system architecture of Apple Silicon Macs", "Bring your Metal app to Apple Silicon Macs", and "Optimize Metal Performance for Apple Silicon Macs". And to learn how to run your iPhone and iPad apps on Mac, check out "iPad and iPhone apps on Apple Silicon Macs".

秀才点评:

从PowerPC到Intel,从Intel到ARM,15年后历史又重演了一次。

Apple布局多年, 即将用ARM完成大一统,完成之前微软想做而又做不到的事情,这一次,可能真的要和牙膏厂拜拜了。回过头来,再来看看带有秒控键盘的iPad Pro,那不就是个Macintosh on ARM吗?

对于开发者,交错编译什么的可以拜拜了,iPad又从爱奇艺变成了生产力,Mac上的应用数量跳空高开。

0x02 苹果版小程序

app clips Session3:Explore app clips developer.apple.com/videos/play…

Help people experience the right parts of your app at the exact moment they need them. We'll explain how to design and build an app clip — a small part of your app that focuses on a specific task — and make it easily discoverable. Learn how to focus your app clip on short and fast interactions and identify contextually-relevant situations where you can surface it, like a search in Maps or at a real-world location through QR codes, NFC, or app clip codes. Find out a few key differences between apps and app clips, and explore how app clips interact with their corresponding apps. We've designed this session to introduce you to app clips. For more detailed information on designing, building, and implementing app clips, check out “Create app clips for other businesses,” “Streamline your app clip,” and “Configure and link your app clips”.

Session4:Configure and link your app clips developer.apple.com/videos/play…

App clips are small parts of an app that offer a streamlined, direct experience and help people get what they need at the right time. Learn how you can invoke an app clip through real-world experiences like app clip codes, NFC, and QR codes, or have them appear digitally through apps like Maps or Safari. We'll show you how to handle links in your app clip and demonstrate how to set up your associated domains. And discover how you can configure app clip experiences in App Store Connect, add app clip banners to your website, and thoroughly test your app clips through TestFlight. To get the most out of this session, you should have experience using Universal Links and associated domains. For a primer, watch “What's New in Universal Links” from WWDC19.

秀才点评:

App Store约等于微信,小程序约等于App Clips。

适用场景:即扫即用即走的场景,例如支付、共享产品等。

对于开发来说,工程的模块化和组件化要求会更高了,ReactNative和Flutter这种跨平台方案适配App Clips可能会比较困难。

0x03 主屏幕窗口挂件

widget Session5:Meet WidgetKit

developer.apple.com/videos/play…

WidgetKit: the best way to bring your app's most useful information directly to the home screen. We'll show you what makes a great widget and take a look at WidgetKit's features and functionality. Learn how to get started creating a widget, and find out how WidgetKit leverages the power of SwiftUI to provide a stateless experience. Discover how to harness your existing proactive technologies to make sure your widget surfaces relevant material. And create a Timeline that ensures your content is always fresh. For more on creating widgets, check out "Build SwiftUI views for widgets" and "The widgets code-along."

秀才点评:

互相借鉴了下,进步值得肯定,对于大多数APP,可能然并卵。

0x04 人体关键点检测技术

vision Session6:Detect Body and Hand Pose with Vision developer.apple.com/videos/play…

Explore how the Vision framework can help your app detect body and hand poses in photos and video. With pose detection, your app can analyze the poses, movements, and gestures of people to offer new video editing possibilities, or to perform action classification when paired with an action classifier built in Create ML. And we'll show you how you can bring gesture recognition into your app through hand pose, delivering a whole new form of interaction. To understand more about how you might apply body pose for Action Classification, be sure to also watch the "Build an Action Classifier with Create ML" and "Explore the Action & Vision app" sessions. And to learn more about other great features in Vision, check out the "Explore Computer Vision APIs" session.

秀才点评:

好像在哪里见过,对,是的,2年前抖音里的尬舞机。

有了硬件加持,当下如火如荼的短视频将会迎来很多玩法,你准备好了吗?

0x05 Apple与汽车

apple and car Session7:Introducing Car Keys developer.apple.com/videos/play…

You can now store car keys on iPhone or Apple Watch. You no longer have to bring your key fob to unlock and start your car. And with digital keys, it's easy to share them with family or friends, and manage keys remotely. This session is intended for automakers who want to adopt digital car keys in their vehicles. We'll talk about the core feature set including owner pairing, transactions (when you unlock or start your car), key sharing, and key management. Learn about the car key architecture and how it ensures security and privacy. Get information on where to go next for information on hardware and specifications.

Session8:Accelerate your app with CarPlay developer.apple.com/videos/play…

CarPlay is the smarter, safer way for people to use iPhone in the car. We'll show you how to build great apps for the car screen, and introduce you to developing CarPlay apps in categories like EV charging, parking, and quick food ordering. We'll also share how existing audio and communication apps can take advantage of improvements to the CarPlay framework to create a more flexible UI.

秀才点评:

宝马和苹果联合第一个吃螃蟹,可实现车门解锁、落锁、启动、远程控制、共享等功能。多年的愿望终于要实现了,未来智能手机和汽车会有更深度的融合,短暂的遥控驾驶?

那么最后一个问题来了,iOS14有了,请问宝马是统一发吗?

欢迎大家留言交流