Important Notes From WWDC 2022
// Tip From WriterI recommend you, download the Apple Developer app from the AppStore. So you will have the opportunity to follow features.App Link: https://apps.apple.com/us/app/apple-developer/id640199958
Hello, I would like to share with you important features and notes announced at WWDC June 2022, by adding with my own thoughts.
There are features in many subjects, first we will investigate the programmer (code) side with the Platform State Of The Union (Xcode, Swift, UIKit, SwiftUI) after that we will deep in to the user side.
As expected, many software and hardware updates came for us. New Macbooks with M2 chip, iOS 16, iPadOS 16, macOS Ventura, watchOS 9 and updated new CarPlay. I have to say, there is nothing shared about tvOS.
In the Apple presentation, the word privacy was constantly emphasized, privacy-related features were explained. For example when we wanna login websites, apple will create a public key for us with our face or print id, so we won’t have to create passwords for every website. And more things announced about privacy.
Let’s start with Xcode features.
Xcode 14 -Features
Code Completion
We need to write whole initializers by hand or some code generating tools. With this feature we will able to use auto completion.
Swift 5.7 -Features
New if-let syntax added.
Swift compiler will automatically unwrap our optional into a concrete value with the exact same name
UIKit -Features
UIPageControl
UIPageControl, now can control layout direction as horizontal and vertical. In addition, custom image features have been added based on each state.
Self-resizing Cells
UITableView and UICollectionView now have self-resizing cells. The “selfSizingInvalidation” parameter is enabled by default.
UIHostingConfiguration
Now you can use your SwiftUI views with UIHostingConfiguration in UITableView and UICollectionView. The best part is that you can use the cells you have created with both UIKit and SwiftUI together.
SwiftUI 4.0 -Features
Swift Charts
There is a lot of different chart styles we can use in the library.
Navigation Stack
We will use NavigationStack instead of NavigationView. With the new NavigationStack, we can define multiple destinations by the model.
Half Sheet
We need, call the presentationDetents function of the view we will show as the half sheet. Function takes detents as parameter to set the height of the sheet.
Custom Layout
AnyLayout, give us change to layout position with user interaction.
We will continue with, future features for users
Apple announced the new M2 apple silicon chip. We will see the difference with the M1 chip.
M2 chip takes the performance per watt of the M1 even further with an 18 percent faster CPU, a 35 percent more powerful GPU, and a 40 percent faster Neural Engine. Support for up to 24GB of unified memory.
M2 is a bit more powerful, efficient, less power-consuming than the M1, but for me, the M1 Macbook is still that can be enough for a long time.
iOS 16 -Features
First of all, I have to say iOS 16 features will not come to iPhone 7 and lower models.
Lock Screen Changes
Apple announced a change to how notifications display on lock screens on devices running iOS 16. Rather than appearing in the middle of the lock screen, notifications will roll up from the bottom of the screen. Apple implemented this change to provide more room for the lock screen widgets they are also deploying with iOS 16.
Also live activities can be added on lock screen, we can see on the bottom of the lock screen. We will can add there like Uber estimated arrive time or sport match live info.
iPad 16 -Features
Stage Manager
Stage Manager, moves all windows to the side to provide better focus to the user. The Stage Manager feature gets all the windows in a pile. You can also group apps to work with complementing applications. It essentially helps with multi-tasking by reducing overall clutter on your desktop, all of which are delivered by iPads with the M1 chip.
You can resize the windows and move them around on the iPad. Previously, Split View and Slide Over were the only available multitasking options, and were limited to two apps or app windows at a time.
Copy And Paste -Cropping Image
Of course, it varies from person to person, but I have to say, this is the feature that I like the most.
The feature doesn’t have a name, but here’s how it works: You tap and hold on a photo to separate a picture’s subject from the background. And if you keep holding, you can then “lift” the cutout from the photo and drag it into another app to post.
macOS Ventura -Features
Undo Mail
The Mail app gets a new Undo Send feature that allows users to undo a mail soon after it has been sent. You will also get a ‘follow up’ reminder option too.
CarPlay -Features
CarPlay features, which will support multiple displays within a vehicle, offer built-in climate controls for adjusting the temperature of the A/C or heat within the CarPlay interface, and more.
The above manufacturers will include the latest version of Apple CarPlay in cars they launch next year.
watchOS 9 -Features
Some features will be added like we can set alarms on parameters; for example if my heart rhythm more than 90 notice me, let me know!
I shared with you the features that I saw as important with a bit my opinion.
I hope this article was helpful.
References :