The author made research and reverse-engineering of inner working of async/await. This substantial article promises to be an in-depth exploration of the subject, so be sure to have plenty of tea ready.
https://swiftrocks.com/how-async-await-works-internally-in-swift
#Swift #concurrency
https://swiftrocks.com/how-async-await-works-internally-in-swift
#Swift #concurrency
Swiftrocks
How async/await works internally in Swift
You probably know how to use async/await. But have you ever wondered how it works under the hood?
One of my favorite blogs is regularly sharing in-depth articles about SwiftUI. In their latest post, the author delves into the new CustomAnimation protocol, explaining what it is and how to use it effectively.
https://swiftui-lab.com/swiftui-animations-part6/
For more animation-related posts, check out the full series here
https://swiftui-lab.com/category/animations/
#SwiftUI #animations
https://swiftui-lab.com/swiftui-animations-part6/
For more animation-related posts, check out the full series here
https://swiftui-lab.com/category/animations/
#SwiftUI #animations
The SwiftUI Lab
Advanced SwiftUI Animations – Part 6: CustomAnimation
Welcome to a new installment of the Advanced SwiftUI Animations series. I initiated this collection of articles back in 2019. Since then, Apple has been [...]
For those who already use the Logger type, Xcode 15 brings handy improvement — support of filtering console logs and more directly in Xcode, eliminating the need to launch the Console app. You can filter logs by their type (networking, ui), jump to code where a log message has been triggered and so on.
https://augmentedcode.io/2023/10/16/changes-to-structured-logging-in-xcode-15/
#Xcode #logging
https://augmentedcode.io/2023/10/16/changes-to-structured-logging-in-xcode-15/
#Xcode #logging
Augmented Code
Changes to structured logging in Xcode 15
Apps log a lot of information to the debug console in Xcode which at some point might get overwhelming and makes it difficult to understand what is going on. The information of what we are interest…
There is a lot of criticism of GeometryReader in the iOS community: some try to avoid it, others consider it very useful, others don’t even know what it is. All these problems are discussed in a long article prepared by the author.
https://betterprogramming.pub/geometryreader-blessing-or-curse-1ebd2d5005ec
#SwiftUI #Layout
https://betterprogramming.pub/geometryreader-blessing-or-curse-1ebd2d5005ec
#SwiftUI #Layout
Medium
GeometryReader: Blessing or Curse?
A good tool is only as good as the person who wields it
As in the previous article the author once again made a really great job. This time he prepared an in-depth analysis of the
https://medium.com/the-swift-cooperative/mastering-viewthatfits-3294d74cb17b
#SwiftUI #Layout
ViewThatFits
component, providing a detailed explanation of its functionality and the underlying reasons for its operation. Moreover, the author went a step further by recreating this component using the Layout protocol, showcasing both a profound understanding and practical application of the subject matter.https://medium.com/the-swift-cooperative/mastering-viewthatfits-3294d74cb17b
#SwiftUI #Layout
Medium
Mastering ViewThatFits
A layout tool that is easy to get started with but not easy to master
Interesting approach for storing API keys by using on-demand resources with enabled prefetching instead of embedding them directly in code, that could lead to expose them as plain strings when extracted from IPA files.
https://augmentedcode.io/2023/11/27/using-on-demand-resources-for-securely-storing-api-keys-in-ios-apps/
#Security
https://augmentedcode.io/2023/11/27/using-on-demand-resources-for-securely-storing-api-keys-in-ios-apps/
#Security
Augmented Code
Using on-demand resources for securely storing API keys in iOS apps
Many apps use API keys when authenticating network requests. Although there are better ways of authenticating requests like OAuth with PKCE, but it might not always be possible. One thing what we m…
Apple has announced that, beginning January 2024, all Apple Developer Program memberships will include 25 compute hours per month on Xcode Cloud at no additional cost.
https://developer.apple.com/news/?id=ik9z4ll6
#Cloud
https://developer.apple.com/news/?id=ik9z4ll6
#Cloud
Apple
25 hours of Xcode Cloud now included with the Apple Developer Program - Latest News - Apple Developer
Xcode Cloud, the continuous integration and delivery service built into Xcode, accelerates the development and delivery of high-quality apps. It brings together cloud-based tools that help you build apps, run automated tests in parallel, deliver apps to testers…
I came across a great video about creating a Design System using the example of button styling. I particularly liked the approach of expanding a simple button with additional fields such as description and title by combining different styles.
https://youtu.be/Z7rJKr6Jlho?si=cIYfiJaOOHFioV7x
#SwiftUI #design_system
https://youtu.be/Z7rJKr6Jlho?si=cIYfiJaOOHFioV7x
#SwiftUI #design_system
YouTube
Creating a Design System with SwiftUI
In this talk, we will explore how to use SwiftUI to create a design system for our apps. We'll focus on using standard types and patterns provided by SwiftUI.
This article is a great reminder to avoid using AnyView as much as possible, or use it carefully when really necessary. The author conducted some measurements of using AnyView (and without it) in lists and compared the results.
https://martinmitrevski.com/2024/01/02/anyviews-impact-on-swiftui-performance/
#SwiftUI #performance
https://martinmitrevski.com/2024/01/02/anyviews-impact-on-swiftui-performance/
#SwiftUI #performance
martinmitrevski
AnyView’s impact on SwiftUI performance
Introduction AnyView is a type-erased view, that can be handy in SwiftUI containers consisting of heterogeneous views. In these cases, you don’t need to specify the concrete type of all the v…
A few non-obvious tips about using dynamic member lookup in conjunction with SwiftUI Binding.
https://chris.eidhof.nl/post/swiftui-binding-tricks/
#SwiftUI
https://chris.eidhof.nl/post/swiftui-binding-tricks/
#SwiftUI
chris.eidhof.nl
SwiftUI Binding Tips — Chris Eidhof
Clickbait news. Apple introduces new programming language!
… for writing configurations.
It combines the simplicity of static languages with the capabilities of general programming, featuring classes, functions, conditions, and loops. Pkl ensures safety with type checks, offers ease of use with IDE integration, and supports package sharing and integration into various programming languages.
https://pkl-lang.org/blog/introducing-pkl.html
… for writing configurations.
It combines the simplicity of static languages with the capabilities of general programming, featuring classes, functions, conditions, and loops. Pkl ensures safety with type checks, offers ease of use with IDE integration, and supports package sharing and integration into various programming languages.
https://pkl-lang.org/blog/introducing-pkl.html
Oh, look at this gem! Chris Eidhof from objc.io has built a guide for visually understanding how SwiftUI's layout system works. It's even possible to adjust some layout parameters to thoroughly grasp the consept.
https://www.swiftuifieldguide.com
#swiftui #layout
https://www.swiftuifieldguide.com
#swiftui #layout
SwiftUI Field Guide
A visual guide to help explore SwiftUI
I found the strength to write an article about making customizable components in SwiftUI.
p.s. the standard for writing articles has been met, expect the next article to be published next year.😄
https://otbivnoe.ru/2024/02/25/Making-Customizable-SwiftUI-Components.html
#SwiftUI #design_system
p.s. the standard for writing articles has been met, expect the next article to be published next year.
https://otbivnoe.ru/2024/02/25/Making-Customizable-SwiftUI-Components.html
#SwiftUI #design_system
Please open Telegram to view this post
VIEW IN TELEGRAM
otbivnoe's blog
Making Customizable SwiftUI Components
In this article, we're going to explore different ways of creating flexible components in SwifUI.
Apple’s released Swift 5.10 – it's making concurrent programming safer with full data isolation. This milestone sets the stage for Swift 6, which will enforce data isolation by default, improving usability and eliminating data races.
https://swift.org/blog/swift-5.10-released/
#swift #concurrency
https://swift.org/blog/swift-5.10-released/
#swift #concurrency
Swift.org
Swift 5.10 Released
Swift was designed to be safe by default, preventing entire categories of programming mistakes at compile time. Sources of undefined behavior in C-based languages, such as using variables before they’re initialized or a use-after-free, are defined away in…
Great long-read of making a native text editor app as a solo dev (you probably heard or used it - Paper app).
https://papereditor.app/dev
In the second part the author concentrates on the deep-tech stuff - how text editing works internally.
https://papereditor.app/internals
https://papereditor.app/dev
In the second part the author concentrates on the deep-tech stuff - how text editing works internally.
https://papereditor.app/internals
Paper
9 years of Apple text editor solo dev
Thoughts on building Paper as an indie maker.
Please open Telegram to view this post
VIEW IN TELEGRAM
Digital Bunker
Recreating The DVD Screensaver In SwiftUI
Do you remember that DVD screensaver from the early 2000s? Not only was it a practical tool for preventing screen burn-in on CRT displays, but it's also become a cultural icon.
Like many of you, I can remember seeing this screensaver as a kid, but I'd completely…
Like many of you, I can remember seeing this screensaver as a kid, but I'd completely…
Please open Telegram to view this post
VIEW IN TELEGRAM
Apple Developer
WWDC24
Join the worldwide developer community online for a week of technology and creativity.
TIL there’s a secret debug menu 🤯
https://x.com/hrumarek/status/1190942518080397317?s=46&t=YNy4qFziI3PFPTlrSCXpmA
https://x.com/hrumarek/status/1190942518080397317?s=46&t=YNy4qFziI3PFPTlrSCXpmA
I often find that developers are confused about which component is best for them: ZStack or overlay (+background). So I hope this short article will clarify the differences and help delve deeper into the unique properties of these two modifiers.
https://fatbobman.com/en/posts/in-depth-exploration-of-overlay-and-background-modifiers-in-swiftui/
#SwiftUI #layout
https://fatbobman.com/en/posts/in-depth-exploration-of-overlay-and-background-modifiers-in-swiftui/
#SwiftUI #layout
fatbobman.com
In-Depth Exploration of Overlay and Background Modifiers in SwiftUI | Fatbobman's Blog
This article explores overlay and background view modifiers, their key differences from ZStack, and their ideal use cases.
HTML Embed Code: