Welcome to another issue!
Hey guys! π
Iβve got an idea! π‘
There are a lot of great companies in the iOS & Swift community, but many are just getting started, and we all know how tough that can be without big budgets for promotion.
Hereβs my offer: if you have your company swag, send it to me! In exchange, Iβll feature you in my newsletter and on social media.
Sounds like a win-win, right? What do you think? π€
I appreciate your support and let's check what I found for you today! π
Sponsored Link
Product for Engineers: Helping engineers flex their product muscles
Product for Engineers is PostHogβs newsletter dedicated to helping engineers improve their product skills.
Subscribe for free to get curated advice on building great products, lessons (and mistakes) from building PostHog, and deep dives on top startups.
Swift Around the Web
Swift Testing: Validate your code using expressive APIs
The Swift Testing framework provides a comprehensive set of features for writing clear, concise, and organized tests to enhance the quality and reliability of your Swift code.
Key benefits include:
- Simplified API: The framework's intuitive API makes test writing straightforward.
- Macros for efficiency: Use @Test and #expect to reduce boilerplate code.
- Organized testing: Structure your tests using structs and metadata for better readability and maintainability.
Coding
Recreating Readable Content Guide Sizing in SwiftUI
This article shows how to replicate the readableContentGuide
functionality from UIKit in SwiftUI. It introduces a custom modifier, ReadableContentModifier
, that adjusts content width dynamically based on device orientation and size class.
Although not an exact match to UIKit's behavior, this method delivers a comparable layout experience, improving screen readability in SwiftUI.
Enhance SwiftUI's DisclosureGroup with Custom Styles
Explore the customization potential of SwiftUI's DisclosureGroup
component. This guide demonstrates creating a custom style that reverses the label and content order, mimicking a sheet-like behavior.
It emphasizes the importance of prioritizing functionality before applying suitable styles in SwiftUI for a more intuitive and polished user experience.
How to set up and use Core Data with SwiftUI
This guide explains how to use Core Data for data persistence in SwiftUI. It covers essential topics such as setting up the Core Data stack, retrieving data with @FetchRequest
, and adding or deleting data using the managed object context.
These key concepts provide a strong foundation for effectively managing data in SwiftUI applications.
visionOS
Building a 3D experience in visionOS: Windows
This guide walks you through building a 3D app for Apple Vision Pro. It demonstrates how to create a window displaying a rotating cube and introduces the fundamentals of visionOS development, including:
- Setting up a project in Xcode.
- Creating windows for 3D content.
- Building 3D graphics with SwiftUI and RealityKit.
- Adding user interactions to manipulate 3D objects.
- Displaying information within the 3D space.
Apple News
Update on iPadOS 18 apps distributed in the European Union
The App Review Guidelines have been updated to incorporate iPadOS notarization. Beginning September 16th, iPadOS apps can be distributed via the App Store and through alternative channels within the EU.
iPadOS apps can now use alternative browser engines, and Historical App Install Reports will include iPadOS data. If you have existing agreements, be sure to update them to support iPadOS compatibility.
Design
SwiftUI ButtonStyle
Learn how to create custom button styles in SwiftUI using the ButtonStyle
protocol and the Configuration
object. This method offers a streamlined and efficient way to alter button designs without cluttering your code.
The article provides a step-by-step guide on creating and applying custom button styles across your SwiftUI app. By tailoring button appearances, you can improve your app's visual coherence and elevate its professional look.
Navigating digital endings
The article emphasizes the significance of offboarding in app design, exploring its legal considerations, advantages for both users and businesses, and the processes involved in data deletion.
Focusing on offboarding allows developers to enhance user experience while showcasing their dedication to privacy and sustainability.
Other Cool Stuff
Converting an App from Obj-C
This step-by-step guide walks you through migrating an Objective-C app to Swift and SwiftUI. It covers common challenges, such as adapting UI layouts and converting timing functionality during the transition.
By following the steps outlined, you can successfully modernize your Objective-C app, enhance its maintainability, and leverage the latest features and capabilities provided by Swift and SwiftUI.
iPhone 16 Screen Sizes
Detailed overview of the screen sizes and safe area insets for the iPhone 16 models, helping developers optimize app layouts for the latest devices.
Key points:
- New screen sizes: The iPhone 16 Pro and Pro Max introduce larger 6.3" and 6.9" displays.
- Safe area insets: The safe area insets for all iPhone 16 models are provided for both portrait and landscape orientations.
- App Store screenshots: Apple now requires only one set of screenshots for iPhone, supporting both 6.9" and 6.5" displays.
Tools
JetBrains Fleet
JetBrains Fleet is a flexible code editor that supports various programming languages. It features AI-powered tools, a hybrid editing experience, cross-platform compatibility, and collaborative capabilities.
Available on macOS, Windows, and Linux, Fleet includes key tools such as a terminal, Git integration, and debugging features.
Pricing options include a free tier for individual, non-commercial use, and a professional tier for commercial purposes.
In Case You Missed It
App onboarding funnel optimization to increase conversions
Learn how to optimize app onboarding funnels to boost conversions. This post outlines key steps, including defining critical user actions, analyzing funnels, optimizing individual steps, and tracking external funnels. By concentrating on these areas, developers can enhance user acquisition and improve engagement.