@azamsharp I did exactly that the last two years, and I documented my learnings, too. You can find some of them here on the great @WWDCNotes site:
https://t.co/TkYHZgyJr3
I’ll be doing the same this year and probably streaming it, too. 😁
Recently a junior iOS engineer reached out to me asking for help landing an iOS engineer role. They said they weren’t struggling with the data structures and algorithms part of interviews but the iOS part. I wrote some lengthy tips I thought I might as well share here:
Xcode 13.3 ships with Swift 5.6 which contains an interesting new keyword: "any". Learn everything you need to know about Swift's new "any" keyword in this post 😄: https://t.co/8kiAmB5csa
You want to give async / await a try, but your app has been implemented using Combine? 😞
You’re in luck, because Publishers are now compatible with async / await!
Let me show you how it works 🔥
There are a few ways to customize the style of links embedded in Text in iOS 15 in SwiftUI:
- use the tint modifier to color the link
- apply Text modifiers and use Text interpolation
- create Text with an AttributedString and style the link range with SwiftUI attributes
Great News 😀 Starting from beta 5 you can set a custom action for `openURL` environment value in SwiftUI! This can also be used to customize actions of links inside Text views!
OK, I did some more research into the #SwiftUI ControlGroup and found the video where it was introduced: WWDC21 "What's new in SwiftUI"
Apple says, "On iOS, the controls in a group are organized a little tighter in the toolbar."
And I compared and it's true:
Do you use diffable data source?
If so, there are some big changes in iOS 15:
- applySnapshot(_: animatingDifferences: false) now diffs & only performs minimal updates to UI
- New API applySnapshotUsingReloadData if you want reloadData
- New API to efficiently reconfigure items!
We all know about async/await in Swift 5.5 but another really cool addition, especially for #SwiftUI developers, is if conditions for postfix member expressions!
In the code below, you can see we change our view modifiers based on the OS we're on!
Can't wait for #WWDC21 😄✨💻