SwiftLee Weekly - Issue 242


This week's SwiftLee Weekly covers:

  • 30% discount on iOS Courses
  • Working at startups vs. large companies
  • What is @preconcurrency actually doing?

Enjoy this week's SwiftLee Weekly!

THIS WEEK'S BLOG POST

Security-scoped bookmarks for URL access

Security-scoped bookmarks are essential in macOS development when you want access to a user-selected directory in a sandboxed environment. A bug in macOS Sequoia has kept me and other developers busy for the past week, so I decided to bring you all up-to-date in this week's article.

SPONSORED

Master Mobile Monitoring SwiftUI Apps

Monitor your app’s health with real-time insights into crash-free rates, start times, and more. Optimize performance and prevent user churn by addressing critical issues like app hangs, and ANRs. Learn how to keep your iOS app running smoothly across all devices by downloading this eBook.

CURATED FROM THE COMMUNITY

iOS Dev Courses 30% Off

Sean Allen has just updated his courses for iOS 18, offering a 30% discount to celebrate. His content covers SwiftUI, Charts, HealthKit, and even includes an updated portfolio project course featuring Swift 6 and Swift Testing. If you’re looking to level up your skills, this is the perfect time to dive in! For transparency: I’m both an affiliate and a good friend of Sean — we help each other grow.

seanallen.teachable.com

SWIFT EVOLUTION

An overview of last week's Swift Proposal state changes. Check them out when they're in review, as it's your opportunity to influence the direction of Swift's future.

QUESTION OF THE WEEK

What are the guides and tips to be continuously motivated to learn and become a better developer?
Vien

As developers, we continuously need to improve. There are new APIs to learn and new challenges to face. How do we stay motivated?

It all starts with passion. If you’re working on an exciting project, passion will follow. Passion results in motivation, and motivation results in energy to learn and grow.

The real challenges surface when you’re working on a less exciting project. You might need to refactor an old codebase or work on an app for a digital agency that just doesn’t excite you.

Altogether, I’d argue it’s essential to work on your environment. Whenever I found myself in a situation of less exciting work, I tried to see if I could make that clear to my manager or, worst case, see if I needed to consider a new job.

Now, I know this is quite extreme, so I want to mention that it’s not always possible to escape our challenges. Therefore, it’s also good to push through in difficult times and make yourself aware that better times will follow! You know you’ll be working on an exciting feature again after the refactor. Right? If not, then it’s becoming a real problem.

In my experience, asking, “Can I work on this feature next?” is okay to create refreshing opportunities. You’ll regain your passion, motivation, and energy to learn and become a better developer.

Want to have your question answered next week? Ask your question via this form (anonymously)

SwiftLee Weekly by Antoine van der Lee

SwiftLee Weekly keeps you up-to-date with the latest Swift Evolution proposals, delivers 5 handpicked articles from the community, and challenges your knowledge with a weekly question. Enjoy a monthly giveaway and dive into a fresh new article from SwiftLee every week. Plus, unlock $264 worth of exclusive discounts by subscribing.

Read more from SwiftLee Weekly by Antoine van der Lee

This week's SwiftLee Weekly covers: Dealing with in-app subscription billing issues Getting started with Swift Localization using SPM Enjoy this week's SwiftLee Weekly! THIS WEEK'S BLOG POST Swift Tutorials: Learn Swift with Easy-to-Follow Code Examples Since 2015, I've published over 250 articles. Yet, a good starting point didn't exist, and outside of search engine results, it's pretty hard to discover all the valuable content I've written. Therefore, I used this holiday week to publish an...

This week's SwiftLee Weekly covers: Noncopyable types in Swift Exploring MLX Swift Xcode Library Customization Enjoy this week's SwiftLee Weekly! THIS WEEK'S BLOG POST SwiftUI Button: Custom Styles, Variants, and Best Practices SwiftUI provides different APIs to style buttons. You can use system styling using view modifiers or custom button styles. While writing this article, I learned about PrimitiveButtonStyle, which allows you to define both custom interactions and styling. New: Code for...

This week's SwiftLee Weekly covers: Exploring Apple Intelligence SwiftUI Design System Mutable let in Swift Enjoy this week's SwiftLee Weekly! THIS WEEK'S BLOG POST SF Symbol: How to for Swift & SwiftUI Remember the days you've had to search for a specific icon all across the web? We can be blessed with the quality of SF Symbols, which we can use for free in our apps. This week's article covers everything around the 6,000+ symbols you can use, from animations and variants to creating custom...