Combining opaque return types with primary associated types, Binary targets in SPM, Swift Cheatsheet for begginers and more!

One more thing...
Hello, you're reading Infinum iOS Cocoa Treats, bringing you the latest iOS related news straight to your inbox every week.
Combining opaque return types with primary associated types
How Swift’s opaque return types can be combined with primary associated types in order to create powerful abstractions without the need for any type erasure.

Read More
Code
Binary Targets in Swift Package Manager (SPM) allow packages to declare xcframework bundles as available targets. The technique is often used to provide access to closed-source libraries and can improve CI performance by reducing time spent on fetching SPM repositories.
A complete Swift programming language reference for beginners with more than a 100 snippets. Now available on Gumroad.

Learn how to make all subviews in HStack have an equal height.

SwiftUI views and view modifiers can be divided into “rendering“ and “non-rendering” groups. The position of the `animation` modifier with respect to non-rendering modifiers is irrelevant for the question if a change gets animated or not.

Using long press and drag gestures in SwiftUI ScrollViews is complicated, since they steal the touch events and cause scrolling to stop working. I’ve been trying to fix this, and have found a way that seems promising, that involves using a button style to handle the scroll blocking gestures.

Misc

When developing for iOS it’s often useful to navigate to the files you create in the simulator so you can inspect everything is how you expect it to be.
Examining why some popular iOS apps suddenly got bigger after releasing with Xcode 14.

Curated by Infinum's iOS team.
Infinum iOS Team · 67E 11th St · New York NY 10003 · USA
Unsubscribe | View in browser

Key phrases

Older messages

iOS 16 Passkeys, Result builders in Swift, Ask Apple on November 14 and more!

Thursday, November 10, 2022

One more thing... Hello, you're reading Infinum iOS Cocoa Treats, bringing you the latest iOS related news straight to your inbox every week. The Complete Guide to iOS 16 Passkeys With iOS 16 Apple

Unit Tests in Swift, Window Management in SwiftUI, Spotlights on Dynamic Island and more!

Thursday, November 3, 2022

One more thing... Hello, you're reading Infinum iOS Cocoa Treats, bringing you the latest iOS related news straight to your inbox every week. Getting started with Unit Tests in Swift Write unit

SwiftUI vs UIKit, Best Swift refactoring practices, New preferences on macOS Ventura and more!

Friday, October 28, 2022

One more thing... Hello, you're reading Infinum iOS Cocoa Treats, bringing you the latest iOS related news straight to your inbox every week. Thoughts on SwiftUI vs UIKit I had played with SwiftUI

Live Activities, Create ML with SwiftUI, M2 iPad Pro and more...

Thursday, October 20, 2022

One more thing... Hello, you're reading Infinum iOS Cocoa Treats, bringing you the latest iOS related news straight to your inbox every week. Make Your iOS Apps Come Alive with Live Activities Live

Introducing Ask Apple, Swift Formatters, Swift UI List Types and more!

Thursday, October 13, 2022

One more thing... Hello, you're reading Infinum iOS Cocoa Treats, bringing you the latest iOS related news straight to your inbox every week. Introducing Ask Apple - Latest News Join us for Ask

SBF says he's 'had a bad month,' but is he really giving us the full story?

Thursday, December 1, 2022

TechCrunch Newsletter TechCrunch logo The Daily Crunch logo By Christine Hall and Haje Jan Kamps Thursday, December 01, 2022 There is officially only 8.3% left of the year. You know what that means!

FTX’s collapse was a crime, not an accident — TSMC to make 4nm chips in Arizona for Apple, AMD, Nvidia — and Apple blocks Coinbase Wallet

Thursday, December 1, 2022

Issue #968 — Top 20 stories of December 02, 2022 Issue #968 — December 02, 2022 You receive this email because you are subscribed to Hacker News Digest. You can open it in the browser if you prefer. 1

Daily Coding Problem: Problem #952 [Easy]

Thursday, December 1, 2022

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Slack. You are given a string formed by concatenating several words corresponding to the

💎 Issue 341 - Crystal For Rubyists

Thursday, December 1, 2022

This week's Awesome Ruby Newsletter Read this email on the Web The Awesome Ruby Newsletter Issue » 341 Release Date Dec 01, 2022 Your weekly report of the most popular Ruby news, articles and

💻 Issue 341 - TIL – How to split JavaScript strings into sentences, words or graphemes with Intl.Segmenter

Thursday, December 1, 2022

This week's Awesome JavaScript Weekly Read this email on the Web The Awesome JavaScript Weekly Issue » 341 Release Date Dec 01, 2022 Your weekly report of the most popular JavaScript news, articles

📱 Issue 335 - What are your thoughts on this thread? “Stop using MVVM for SwiftUI”

Thursday, December 1, 2022

This week's Awesome iOS Weekly Read this email on the Web The Awesome iOS Weekly Issue » 335 Release Date Dec 01, 2022 Your weekly report of the most popular iOS news, articles and projects Popular

💻 Issue 334 - Announcing ML.NET 2.0

Thursday, December 1, 2022

This week's Awesome .NET Weekly Read this email on the Web The Awesome .NET Weekly Issue » 334 Release Date Dec 01, 2022 Your weekly report of the most popular .NET news, articles and projects

Data Science Weekly - Issue 471

Thursday, December 1, 2022

Curated news, articles and jobs related to Data Science. Keep up with all the latest developments Email not displaying correctly? View it in your browser. Issue #471 December 01 2022 Editor's Picks

💻 Issue 341 - Node.js visualized: promise, async/await and process.nextTick under the hood

Thursday, December 1, 2022

This week's Awesome Node.js Weekly Read this email on the Web The Awesome Node.js Weekly Issue » 341 Release Date Dec 01, 2022 Your weekly report of the most popular Node.js news, articles and

💻 Issue 259 - React Conditional Rendering With Type Safety and Exhaustive Checking

Thursday, December 1, 2022

This week's Awesome React Weekly Read this email on the Web The Awesome React Weekly Issue » 259 Release Date Dec 01, 2022 Your weekly report of the most popular React news, articles and projects