TG Telegram Group Link
Channel: Readaggregator - iOS, Swift, Apple, Programming, Mobile
Back to Bottom
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
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
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
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
As in the previous article the author once again made a really great job. This time he prepared an in-depth analysis of the 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
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
A few non-obvious tips about using dynamic member lookup in conjunction with SwiftUI Binding.
https://chris.eidhof.nl/post/swiftui-binding-tricks/
#SwiftUI
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
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
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
Please open Telegram to view this post
VIEW IN TELEGRAM
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
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
HTML Embed Code:
2024/05/03 04:20:20
Back to Top