Tag Archives: Swift, SwiftUI

Swift – Convenience Initializers

By | 03/05/2023

In this post, we will see what are the Convenience Initializers and how to use them in our Swift projects.But first of all, what are the Convenience initializers?In Swift, initializers are used to set up an instance of a class, structure, or enumeration with default values, as well as to allocate resources for that instance.There… Read More: Swift – Convenience Initializers »

SwiftUI – Charts

By | 19/04/2023

In this post, we will see how to use the Charts framework added in SwiftUI 4.But first of all, what is Charts?From Apple developer site:“Swift Charts is a powerful and concise SwiftUI framework for transforming your data into informative visualizations. With Swift Charts, you can build effective and customizable charts with minimal code. This framework… Read More: SwiftUI – Charts »

SwiftUI – AnyLayout

By | 15/02/2023

In this post, we will see how to use the new component AnyLayout introduced in SwiftUI 4.But first of all, what is AnyLayout? From Apple developer web site:“Use an AnyLayout instance to enable dynamically changing the type of a layout container without destroying the state of the subviews”In a nutshell, with AnyLayout we can switch for example… Read More: SwiftUI – AnyLayout »