1. 程式人生 > 實用技巧 >開發者稱蘋果最佳新品釋出

開發者稱蘋果最佳新品釋出

During its product event on Tuesday, Apple announced new updates for the Apple Watch line, a new “Apple One” bundle of services, and plenty more — but what got me most excited as a developer is the new iPad Air.

d uring週二在其產品事件,蘋果宣佈新更新的Apple關注線,服務的新的“蘋果一號”束,並且還有更多的-但讓我最興奮的開發商是新iPad的空氣。

The new tablet comes with an updated bezel design that looks like the current iPad Pro’s, several color offerings, a TouchID-capable wake button, and a suite of performance upgrades. The iPad Air will now have the A14 chip with 6-core CPU and neural engine capabilities not yet seen in the iPad. The chip allows for up to 11 million operations per second, which means that developers using CoreML for their apps will see an immense improvement in the speed at which their apps can do machine learning.

新平板電腦採用了外觀經過更新的邊框設計 像當前的iPad Pro一樣,提供多種顏色,支援TouchID的喚醒按鈕以及一系列效能升級。 iPad Air現在將配備A14晶片,該晶片具有6核CPU和神經引擎功能,這在iPad上尚不存在。 該晶片每秒最多可進行1100萬次操作,這意味著將CoreML用於其應用程式的開發人員將看到其應用程式進行機器學習的速度有了極大的提高。

One of the developers Apple used to showcase the new ML capabilities was Karim Morsy, who created the app djay Pro AI

. Karim explained how with the new iPad Air, users can now DJ in the air, without touching the iPad. The app uses the camera to track the user’s hand movements and then uses machine learning to translate those movements into spinning the turntables. When I saw that, I envisioned an app that could help you learn and improve your sign language by tracking your hand movements.

蘋果公司用來展示新ML功能的開發人員之一是Karim Morsy,他建立了應用djay Pro AI 。 卡里姆(Karim)解釋說,藉助新的iPad Air,使用者現在可以在空中進行DJ而不接觸iPad。 該應用程式使用相機跟蹤使用者的手部動作,然後使用機器學習將這些動作轉換為旋轉的轉盤。 當我看到它時,我設想了一個應用程式,可以通過跟蹤您的手部動作來幫助您學習和改善手語。

Game developers should be pumped, as well. Alexey Scherbakov, developer of War Robots, showed improved graphics and textures with the iPad Air.

遊戲開發人員也應受到激勵。 阿列克謝Scherbakov,開發商戰爭機器人 顯示出改善的圖形和紋理與iPad空氣。

Image for post
Credit: Apple
信用:蘋果

I haven’t yet used CoreML in any of my own apps yet, but the new iPad Air may just be that push for me to dive in. If I was working on a photo-sharing app, I might use CoreML for an image classification feature to help users pre-populate tags for photo posts. An art app could use it to recommend color palettes or pairings to complement the colors in a user’s piece. A language-learning app could give users feedback on how well they’re speaking a new language. With faster processing times, CoreML allows developers to take advantage of machine learning features without sacrificing performance.

我尚未在自己的任何應用程式中使用CoreML,但新的iPad Air可能正是吸引我潛入的推動力。如果我正在使用照片共享應用程式,則可以使用CoreML進行影象分類功能可幫助使用者預填充照片資訊標籤。 藝術應用程式可以使用它來推薦調色盤或配對以補充使用者作品中的顏色。 語言學習應用程式可以為使用者提供關於他們使用一種新語言的能力的反饋。 通過更快的處理時間,CoreML使開發人員可以在不犧牲效能的情況下利用機器學習功能。

After the product announcements — in the last two minutes of the presentation, in fact — Apple dropped another bomb for developers. Tim Cook announced that iOS 14, iPad OS 14, watchOS 7, and the new tvOS will be available on Wednesday. My jaw nearly dropped to the floor: It means that, ideally, all of us app developers would need to download the production version of Xcode 12 (which allows us to upload and submit iOS 14-compatible versions of our apps), fix any issues our apps may have, finish implementing any new iOS 14 features, submit apps to the App Store, and get them approved in 24 hours.

在產品釋出之後(實際上是在演示的最後兩分鐘),Apple向開發人員投放了另一枚炸彈。 蒂姆·庫克(Tim Cook)宣佈,iOS 14,iPad OS 14,watchOS 7和新的tvOS將於週三上市。 我的下巴幾乎掉到了地上:這意味著,理想情況下,我們所有應用程式開發人員都需要下載Xcode 12的生產版本(允許我們上傳和提交與iOS 14相容的應用程式版本),並解決所有問題。我們的應用可能已經完成了所有iOS 14的新功能的實現,將應用提交到App Store,並在24小時內獲得批准。

Obviously, that’s nearly impossible, so users may run into a number of bugs if they opt to download the new OSes tomorrow. Most app developers not only have to worry about their own code being up to date, but also the code for any third-party apps or frameworks they depend on for certain features to work. Many developers use frameworks like Realm, for local storage, or AppsFlyer, for mobile attribution. Luckily, third-party frameworks can release on their own through GitHub so they aren’t beholden to the app review process, but if their current versions aren’t compatible with iOS 14, they would have to release new versions as soon as possible.

顯然,這幾乎是不可能的,因此如果使用者明天選擇下載新的作業系統,可能會遇到許多錯誤。 大多數應用程式開發人員不僅需要擔心自己的程式碼是最新的,而且還需要擔心某些功能正常執行所依賴的任何第三方應用程式或框架的程式碼。 許多開發人員將Realm等框架用於本地儲存,將AppsFlyer用作移動歸屬。 幸運的是,第三方框架可以通過GitHub自行釋出,因此它們不依賴於應用程式審查過程,但是,如果其當前版本與iOS 14不相容,則它們必須儘快釋出新版本。

Usually Apple will give several days or a week after the announcement for developers to submit and ship their apps for the new OS. (Last year’s September event was held on the 10th, and iOS 13 launched on the 19th.) This announcement came as a huge shock to me, so if you know a fellow iOS developer… make sure to send them a virtual hug. This will be several days of scrambling and stress for the majority of us.

通常,蘋果公司會在釋出公告後的幾天或一週內給開發人員提交併為新作業系統交付其應用程式。 (去年9月的活動於10日舉行,iOS 13於19日釋出。)這一訊息令我震驚,因此,如果您認識iOS的其他開發人員,請確保向他們傳送虛擬的擁抱。 對於我們大多數人來說,這將是幾天的爭奪和壓力。

翻譯自: https://onezero.medium.com/apples-best-new-announcement-according-to-a-developer-834680d4a634