TG Telegram Group Link
Channel: Readaggregator - iOS, Swift, Apple, Programming, Mobile
Back to Bottom
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
Author decided to explore the Attribute Graph - a key part of how SwiftUI updates the user interface. While the topic is advanced, it provides valuable insights for developers eager to dive into layout mechanism under the hood. 🤯

https://rensbr.eu/blog/swiftui-attribute-graph/
#SwiftUI #layout
Stephen and Brandon wrote an article to address common questions and misconceptions about the Composable Architecture (TCA). They aim to clarify its benefits, its relationship with SwiftUI, and its suitability for various apps. The article also tackles comparisons with Redux, and concerns about complexity, performance, and boilerplate code. Additionally, it discusses action modeling and state management efficiency within TCA.
https://www.pointfree.co/blog/posts/141-composable-architecture-frequently-asked-questions
#TCA #architecture
Xcode 16 brings a lot of updates - I want to share some of them that I find interesting:

- Predictive code completion
- Support for EditorConfig
- Explicitly built modules - more actionable error messages, improved debugger performance, and better scheduling decisions which maximize parallelism. LLDB can now import explicitly-built Swift and Clang modules directly
- A new code deduplication algorithm brings additional code size savings and an improved static link time performance
- New execution engine for Previews - shared build products between Build and Run and Previews, switching between the two is instant
- Previews now support previewing views inside of static libraries
- You can cut text from the Source Editor, and then use the “New File from Clipboard” to quickly extract part of a source file into a new file
- Buildable folder references - only record the folder path into the project file without enumerating the contained files. This minimizes diffs to the project when files are added and removed, and avoids source control conflicts with your team
- Swift-DocC now warns about documentation for parameters and return values that doesn’t exist for that documented API
- A lot features in Instruments
- Swift Testing - an all-new testing framework built for Swift from the ground up

#Xcode #wwdc
HTML Embed Code:
2024/06/15 21:54:17
Back to Top