Those Who Swift - Issue 195.

Happy New Year! ๐Ÿš€
 

Those Who Swift

 

ISSUE 195.  January 2nd 2025

 

Welcome to another issue!

 

I have an announcement! ๐Ÿงจ

Starting February 2025, we will move from Curated to Substack.

Main reason for this is the price. Curated costs me $300 per month, which I think is a bit expensive for a side project. Nothing changes for this community - It's going to be a FREE weekly newsletter.

If you like what I do and are excited about 2025, please subscribe here -> SUBSTACK.

Thank you very much! ๐Ÿ™

Those Who Swift

 

New team member! ๐Ÿ‘จ‍๐Ÿ’ป

Those Who Swift newsletter has a new team member - Anton

As a senior developer, he will contribute more insights and content to this newsletter. During the past decade, he has worked for companies all over the world as an iOS Engineer.

Aside from regular content, he will share his personal thoughts every week.

Welcome Anton! ๐Ÿค

Those Who Swift

 
 

Swift Around the Web

 

Why Certain View Modifiers in Swift 6 Cannot Use the @State Property

This Swift 6 article explores the challenges of using @State properties within certain SwiftUI view modifiers. Swift 6's stricter concurrency rules can limit how these properties are accessed.

The article provides solutions, such as accessing the underlying wrappedValue or pre-fetching the @State value, enabling developers to write robust SwiftUI code within the new concurrency model.

fatbobman.com

 
 

Coding

 

Getting started with UI Testing for SwiftUI

Learn how to write UI tests for SwiftUI applications using the XCTest framework. This post covers key concepts like setting up tests, finding and interacting with UI elements, and verifying expected behavior.

It also explains how to use tools like Accessibility Inspector to improve your testing process.

tanaschita.com

 

Reading and displaying Genmoji in non-rich text formatted data context

Explore how to handle Genmoji in non-rich text contexts. Genmoji requires special handling in plain text or custom formats. The solution involves decomposing the attributed string, representing text and images with an InlineComponent enum, and building a SwiftUI view to display them.

createwithswift.com

 

Finding unused code with Periphery

Periphery is a command-line tool that helps developers identify unused code in Swift projects. Periphery simplifies the process, saving developers time and effort, and offers easy setup and customization options.

adamwulf.me

 
 

visionOS

 

What's new for enterprise in visionOS 2

visionOS 2 introduces new enterprise features, including support for Automated Device Enrollment and enhanced MDM capabilities.

New APIs provide developers with increased platform control, enabling the creation of powerful enterprise solutions and spatial experiences.

apple.com

 
 

Design

 

Creating a SwiftUI text view with tappable links

Explore two approaches for creating text views with tappable links in SwiftUI: Markdown and a custom LinkText view.

  • Markdown offers clean syntax and platform compatibility.
  • The LinkText view provides more flexibility with styling and environment-based options.

danielsaidi.com

 

Adjust the intensity of colors in SwiftUI views

Learn how to adjust the intensity of colors in SwiftUI views using the brightness(_:) modifier. By passing values between 0 and 1, you can lighten a color. Similarly, passing negative values between 0 and -1 darkens the color.

nilcoalescing.com

 
 

Other Cool Stuff

 

Essential xcodebuild Commands for iOS Developers

A compilation of essential xcodebuild commands for iOS developers, crucial for CI/CD pipelines. It covers building source code, executing tests, creating archives and IPA files, and deleting simulators.

medium.com

 

Exploring AI: Cosine Similarity for RAG using Accelerate and Swift

Explore cosine similarity, a method for comparing how similar two sets of numbers are, to build powerful AI systems called "Retrieval-Augmented Generation" (RAG) for iOS and macOS apps.

rudrank.com

 

SwiftUI: Protect Private Information

Learn to protect sensitive information within a SwiftUI app. It covers obscuring inactive data using privacySensitive() and preventing screenshots/recordings using UITextField with isSecureTextEntry.

The post provides code examples and demonstrates how to combine these techniques to enhance the app's overall security of sensitive data.

gitconnected.com

 
 

Artificial intelligence (AI)

 

Reasoning with o1 course by OpenAI

DeepLearning.AI's "Reasoning with o1" course, created in collaboration with OpenAI, teaches effective use of the o1 model for advanced reasoning tasks like planning, coding, and image analysis. With practical lessons on prompting techniques and meta-prompting, this free intermediate-level course is perfect for developers familiar with Python and LLM applications.

deeplearning.ai

 
 

Tutorials

 

Learn Swift with Easy-to-Follow Code Examples

This guide provides a comprehensive knowledge of learning Swift using code examples and tutorials. It covers fundamental concepts, advanced topics like concurrency and generics, and best practices for testing and debugging.

avanderlee.com

 
 

Books

 

iOS Technical Interview Guide

This FREE book offers practice interview questions for iOS developers of all levels. There are 100 questions in total, divided by difficulty (Junior, Intermediate, Senior) and covering topics like Swift fundamentals, design patterns (MVC, MVVM), and general iOS knowledge (Git commands, networking).

gumroad.com

 
You received this email because you subscribed via the Those Who Swift site.
We'll be sorry to see you go but you can unsubscribe instantly.
 
Vilnius, Lithuania ๐Ÿ‡ฑ๐Ÿ‡น
 
 

 
 
©2025 Those Who Swift | Privacy Policy | By Those Who Swift
 
Published with Curated