Apple’s newest tool will be the unsung hero of your next favorite app


    Apple Developers

    Apple

    Every summer, the majority of Apple users gadge their excitement about the progress of the Apple ecosystem based on the hardware Apple occasionally unveils at its WWDC event — none in 2021 — and the new software features that get announced to power iPhone, iPad, Mac, Apple Watch and other products. But, there’s another subtext at WWDC that often makes larger — albeit quieter — waves across the oceans of Apple platforms. 

    Every WWDC brings a toolbox of new toys for software developers and app makers, and these eventually result in more robust apps that eventually make these devices even more useful. Whatever your favorites apps are — from YouTube to Uber to Cash App to Waze to Zoom — they often have become invaluable based on new technologies, tools or capabilities that Apple made available to app builders.

    And, 2021 has brought some huge new developments for coders — including one that could drive massive efficiencies in the way software and apps are built for Apple devices. 

    CNET spoke with Susan Prescott, Apple’s vice president of worldwide developer relations and Andreas Wendker, Apple’s vice president of tools and frameworks engineering, about the big focus on new tools for developers in 2021.

    Tools that make app building more approachable continues to be a key focus for Apple, especially related to the advances in Swift Playgrounds. “Our feeling is every kid should have exposure to learning to code, not because every kid is going to become a coder but because the world around us is fueled by code,” said Prescott. “We’re going to help as many people as we can in as many walks of life as possible, from as many communities and cultures as possible, to learn to code.”

    At WWDC, Apple announced that Swift Playgrounds will no longer be just for learning how to code, but you’ll be able to build iPhone and iPad apps directly in Swift Playgrounds and deploy them to the App Store.

    “All these advances in tools and technologies are the result of a vision that we’ve been executing on for years,” said Wendker. “They’re really the result of a never-ending focus on our side to build long lasting platforms that create lots of value for developers and users.”

    The 2021 upgrades for developers

    Some more of those significant new developments for software makers unveiled at WWDC this year included:

    SharePlay for Apps — With the new SharePlay API, developers can enable users to share video, movies, music and other multimedia through FaceTime and across platforms (iPhone, iPad, Mac and Apple TV). This will create group watch party opportunities. MasterClass, Disney+, Twitch, HBO Max and Paramount+ are already planning to support the feature in their apps.

    In-App Events — Following on the long success and popularity of In-App Purchases, Apple is adding In-App Events so that apps can include live and/or scheduled events such as breaking news, watch parties, concerts, meet-ups, workout sessions and many other possibilities that app makers are likely to explore. These can be premium paid events or free community-building events.

    TestFlight for Mac — The venerable TestFlight app, which has been on iOS and other Apple platforms for years and has enabled testing of pre-release software, is finally coming to Mac and should streamline the development of more Mac apps. That’s especially relevant in the era of the new Apple Silicon-powered M1 Macs, which are re-energizing the platform. 

    RealityKit 2 for AR — While we wait for the hardware to be ready for augmented reality glasses, Apple pushed AR content another step forward with the launch of its next-generation RealityKit 2 at WWDC 2021. RealityKit 2 introduces many new functions but one of the best ones for building AR content is the new object capture that can use photogrammetry from the iPhone or iPad camera to rapidly turn real world objects into 3D models. 

    Swift parallel coding — Swift UI and SwiftPlaygrounds got a bevy of upgrades for 2021, and Prescott said that over half of the top 1,000 apps on the App Store are now built on Swift. But the big announcement at WWDC 2021 was that Swift now supports asynchronous and parallel programming to write faster and more efficient code.

    Xcode Cloud

    There are also a plethora of other new tools and APIs that Apple announced for 2021. But perhaps the biggest announcement of all was Xcode Cloud, which is part of the new Xcode 13 — Apple’s primary tool for building apps and software for all of its devices and platforms. Xcode Cloud is Apple’s new “continuous integration and delivery service.”

    Wendker said, “There are a lot of steps that developers have to go through when they develop apps, like testing and integrating [their code] with their coworkers, and that takes a lot of time. And frankly, a bunch of these tasks are often very mundane and developers don’t want to do them. So, the idea behind a continuous integration system like Xcode Cloud is that it basically offloads a lot of these tasks that can be automated into the cloud.”

    Apple designed Xcode Cloud to work for both small groups of app developers and big enterprise teams — and especially distributed teams of remote workers, which is why a cloud solution makes sense. While larger or more advanced teams may have already set up their own systems to do what Xcode Cloud does, this now makes it a standard part of the Apple development environment and democratizes it for all the teams making apps for Apple devices.

    “It gives developers back a lot of their time so they can really focus on their code,” said Wendker. “And that means they have more time to find bugs and issues in their code, they find them earlier, and so they create higher quality apps and they have more time to work on [adding] features.”

    The Xcode 13 beta is available for software developers to try out, if they have an active Apple Developer account.



    Source link

    Previous articleHow to install the macOS Monterey Public Beta
    Next articleBitcoin.org blocks access to Bitcoin software download in the UK