🎉 The final release of Xcode 14 is around the corner, so I updated my What's New in Swift 5.7 articles:
- Full article: https://t.co/oWmmMXKXVv
- NEW: Xcode playground: https://t.co/fjfiyjFekY
- Browse all changes across all Swift versions: https://t.co/nOLLM1wKCF
🔥 New Post: Announcing InAppBrowser - see what JavaScript commands get injected through an in-app browser
👀 TikTok, when opening any website in their app, injects tracking code that can monitor all keystrokes, including passwords, and all taps.
https://t.co/TxN1ezZX71
I really enjoyed writing this article. The difference between StateObject and ObservedObject seems small, but it's an important one to understand while writing apps in SwiftUI.
https://t.co/irheMwo6jn
#swiftlang#iosdev
✨ From August this year, 🇪🇺 the European Union will require ALL job postings to show a salary range 🎉
#OpenSalaries
Translated: https://t.co/0U7G0dYr8k
This is your friendly reminder that when you create a container view, alignment view, placeholder view or whatever you call it, there’s a good chance you can do with a UILayoutGuide. It isn’t part of the view hierarchy and is more efficient. https://t.co/iV0UoP57E1
There are many different solutions for Dependency Injection in Swift. I decided to use Swift's latest features and solve this pattern w/o the need of a framework.
Staying close to SwiftUI's environment values for easier unders...
https://t.co/IOxQKOwjQD
#swiftlang#iosdev
Pretty cool - it's possible to make Swift Result Builders support classic for loops, which in turn technically makes it possible to make SwiftUI support that feature (which I don't recommend doing in production code, but still, it's an interesting experiment) 🙂
By extending the boolean type in Swift we allow ourselves to create a readable conditional View Modifier in SwiftUI.
In this case, to only apply a background color on iOS 13.
https://t.co/7xSFRvyERb
#swiftlang#iosdev
Did you know the @_disfavoredOverload attribute? It helps removing the disambiguity between 2 identical overloads. Of course, the _ indicates it’s a private attribute so consider it twice before using it in production 😉
#SwiftTip You can gracefully avoid nested do/catch with a simple extension on the Result type. Really useful if you want to try different things before eventually fallback on a default value.
https://t.co/ZK0vjWsdVk
From a startup to a fast growing side project, make it easy for developers to collaborate and share knowledge with Stack Overflow for Teams. It’s now free forever for up to 50 users! https://t.co/vZo5JRmO5x
From Junior to Senior iOS Roadmap 🧭🗺
1. Practice Foundation, UIKit and persistence
2. Learn about Swift + underlying concepts
3. Debugging
4. Understand how/when to use 3rd party dependencies
5. Interviewing
📚Free and paid resources to practice each below!
🧵1/13
It's been a while since I published a new Swift article (been really busy with client work this week), but here we go! 😀
This article shows how to setup SwiftUI bindings between the elements in a collection and a series of views. Hope you'll enjoy it 🙂
https://t.co/xZcs1Eafdz