SwiftUI – Picker

By | 27/05/2020

In this post, we will see how to add a Picker for selecting Sex in the form created in: How to create a Form First of all, we define an array with all the items to display in the picker and then we define a variable where we will save the Picker’s item chosen: Then,… Read More »

SwiftUI – How to create a Form

By | 13/05/2020

In this post, we will see how to create a Form in Swift. We start creating a file called PageForm.swift and then, we set it as starter page, changing the file SceneDelegate.swift: [PAGEFORM.SWIFT] If we run the application, this will be the result:

C# – SOLID Principles

By | 29/04/2020

In this post, we will see what SOLID means and how to implement it using C#. SOLID is a mnemonic acronym for five designers principles that help us to write software more understandable, easier to maintain, flexible and easier to extend.The five principles are:Single responsibility principleOpen/closed principleLiskov substitution principleInterface segregation principleDependency inversion principle  SINGLE RESPONSABILITY… Read More »

Category: C#

React – How to pass values to a Component

By | 15/04/2020

In this post, we will see how to pass values to a Component in React.This is possible using the Props, that is kind of global variable or object, using them like HTML attributes. First of all, we create a file called User.js: [USER.JS] Then, we import and use this component in the file App.js: [APP.JS]… Read More »

Docker – How to install on macOS

By | 08/04/2020

Docker – How to install on Win 10 In this post, we will see how to install Docker on macOS.First of all, we have to download, from the Docker official web site, the latest version of Docker Desktop: Once the download is finished, double click the docker.dmg file, in order to start the installation: After the… Read More »