Tag Archives: Swift, SwiftUI

SwiftUI – Combine

By | 07/06/2023

In this post, we will see what Combine is and how we can use it in our projects.But first of all, what is Combine?Combine is a powerful reactive programming framework introduced by Apple that simplifies the handling of asynchronous events and data flow in applications. By leveraging Combine with SwiftUI, we can create more efficient… Read More »

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 – 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 »

Swift – Core Data

By | 30/11/2022

In this post, we will see how to use Core Data in an iOS project.But first if all, what is Core Data?From Apple web site:“Core Data is a framework that you use to manage the model layer objects in your application. It provides generalized and automated solutions to common tasks associated with object life cycle… Read More »

Swift – Class (Part II)

By | 30/03/2022

Swift – Class (Part I) MULTIPLE INITIALIZERS If we run this code, these will be the results: DEINITIALIZERDeinitialization is a process used to deallocate the memory space before a class instance deallocated. The ‘deinit’ keyword is used to deallocate the memory spaces occupied by the system resources. If we run this code, these will be… Read More »