SwiftUI – NavigationStack

By | 25/01/2023

In this post, we will see how to use the new NavigationStack that has substituted the old NavigationView. We start creating an iOS project and then, we add three Swift files called User, Core and UserType.The first one is our Model, the second one is the Business layer and finally UserType is the UI: [USER.SWIFT]… Read More »

Python – Date

By | 14/12/2022

In this post, we will see some code snippets that can help us to manage date in Python. HOW TO CONVERT A STRING IN A DATEIn this code, we will see how to convert a string in a date: If we run the code, this will be the result: HOW TO GET TODAY DATEIn this… Read More »

C# – BenchmarkDotNet

By | 07/12/2022

In this post, we will see how to use the library BenchmarkDotNet for testing the performance of our methods.But first of all, what is BenchmarkDotNet?“BenchmarkDotNet is a lightweight, open-source, powerful .NET library that can transform our methods into benchmarks, track the performance, and then provide insights into the performance data captured”.I want to specify that… Read More »

Category: C#

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 »

Python – Logging

By | 23/11/2022

Logging is a very important part in the software development because, it can help us to find bugs in our code and it is very helpful in case of application crashing.To be honest, it is a common practice using, especially during the development, the command Print() in order to find bugs, instead to use Logging.But… Read More »