Nicola De Filippo, the blog

The latest articles published
I welcome you to my blog! Here you will find all my posts on the topics of coding and programming. Click on one of the three categories below if you want to filter the topics or scroll in chronological order to see the last things I wrote.

SwiftUI Chat App update

In this post, I’m writing a new version of the old posts about a chat GUI built with SwiftUI. I’ve removed the deprecated APIs and

Read More »
IOS
nicola.defilippo

Navigation in SwiftUI

Updated to iOS 18 In the previous posts, we have seen the fundaments of the SwiftUI. Now is the moment to starts to build something

Read More »
Code on demand
Qt
nicola.defilippo

Code on demand with REST

In the paper Architectural Styles and the Design of Network-based Software Architectures by Roy Thomas Fielding, REST is defined. Today, when people think of REST,

Read More »
IOS
nicola.defilippo

Splash screen in SwiftUI

In this post, we’ll see an object that is present in many popular applications: the Splash Screen. With the storyboard, we have a specific object

Read More »
system design
nicola.defilippo

Job to be done

Reading the third capitol – Identify digital capabilities – of “Principle of WEB API Design” (https://www.amazon.com/Principles-Web-Design), i discovered the JTBD (Job to be done) It

Read More »
Go
nicola.defilippo

Cogentcore

On July 24th, the first release of Cogent (https://www.cogentcore.org/), a new Go GUI cross-platform tool (Windows, OSX, Linux, Wasm, iOS, Android), was launched. This tool

Read More »
books
nicola.defilippo

Summer reflection

Which book reminds you of summer? For me, it’s the one below, and I’ll tell you why. It was the summer of 1991. My uncle,

Read More »
Embedded
nicola.defilippo

Pico blink in pure Swift

In the previous post, we learned how to use Swift embedded to build the blink example using a wrapper for the C++ library. In this

Read More »
Embedded
nicola.defilippo

Swift embedded and pico SDK

In this post we’ll learn how to: To install Swift embedded we need to download a nightly toolchain from here: https://www.swift.org/download/#snapshots We can’t use offciale

Read More »
Embedded
nicola.defilippo

Pico SDK on OSX

Before starting to use Swift to build embedded software, it is essential to install the native SDK for the Raspberry Pico so that we have

Read More »
books
nicola.defilippo

Architecture Foundamentals

I want to suggest this book: “Fundamentals of Software Architecture: An Engineering Approach” (https://tinyurl.com/35ewyab4) for both newbies and expert engineers. What do I like about

Read More »
IOS
nicola.defilippo

Share SwiftData with a Widget

In this post, we’ll see how to share data from the application to the widget. First, create the project and call it SharedWidget, selecting SwiftData

Read More »
Arduino
nicola.defilippo

Swift Embedded

Until now, we have been able to use Swift to create applications for: As of today, it is also possible to use Swift to create

Read More »
IOS
nicola.defilippo

Chart in SwiftUI

Charts are not present in every mobile app, but they are quite common in sports, health, and finance applications. In this post, we’ll learn how

Read More »
IOS
nicola.defilippo

Alert in SwiftUI

In Xcode 15, we can display an alert using the .alert modifier. Take a look at the code: The role of the button can be:

Read More »
IOS
nicola.defilippo

LazyGrid in SwiftUI

In this post, we’ll learn how to use LazyVGrid and LazyHGrid, two powerful and efficient grids to display multiple items. The fundamental element for these

Read More »
IOS
nicola.defilippo

SwiftData Tutorial (Episode III°)

In this last episode about SwiftData, we’ll learn: Before we start, I advise you to review the previous episodes (https://nicoladefilippo.com/swiftdata-tutorial-episode-i/ https://nicoladefilippo.com/swiftdata-tutorial-episode-ii/). Edit data First of

Read More »
IOS
nicola.defilippo

Read NFC tag in SwiftUI

One of the technologies often discussed (sometimes for security reasons) is Near Field Communication (NFC). In this post, we’ll learn how to read information from

Read More »
SwiftUI
nicola.defilippo

Font Width in SwiftUI

One often overlooked element in mobile application design is the font. While the focus during design and development typically centers on colors and images, paying

Read More »
IOS
nicola.defilippo

GeometryRender in SwiftUI

Sure, sometimes when developing mobile applications, you find yourself in situations where you want some elements to have dimensions proportional to the screen. In such

Read More »
IOS
nicola.defilippo

Scan QR code in SwiftUI

If your app requires QR code scanning capabilities, or if you’re simply interested in this topic, you might find this post useful. First, we’ll craft

Read More »
SwiftUI
nicola.defilippo

Async Image in SwiftUI

If your app needs to display images that are hosted on a server, this post is for you. It’s a common scenario where images aren’t

Read More »
IOS
nicola.defilippo

Pull refresh in SwiftUI

How many apps do you know that implement the pull-to-refresh feature? If you’re interested in learning how to create this helpful functionality in your app,

Read More »
IOS
nicola.defilippo

Pickers in SwiftUI

In this post, I’ll present a list of the principal pickers in SwiftUI: Default Picker The code: In this case, we show three film names,

Read More »
IOS
nicola.defilippo

Menu in SwiftUI

I believe there’s a component that isn’t utilized often: the Menu, especially on the iPhone. The situation for the iPad, however, is somewhat different. In

Read More »
IOS
nicola.defilippo

PencilKit in SwiftUI

Today, numerous mobile and embedded applications utilize digital pencils for capturing signatures or similar tasks (such as in courier apps, bank offices, etc.). In this

Read More »
IOS
nicola.defilippo

Custom Component in SwifUI

SwiftUI is a powerful tool, though one area ripe for improvement is the variety of components available. In this post, we’ll explore how to build

Read More »
IOS
nicola.defilippo

Drag And Drop in SwiftUI

In this post, we’ll explore how to use Drag & Drop building blocks to create a fun and educational game! Learn how to make players

Read More »
IOS
nicola.defilippo

Floating button in SwiftUI

The Apple User Interface Guidelines don’t mention floating buttons, and there is no native component for them. However, some applications, such as Twitter and the

Read More »
IOS
nicola.defilippo

Assets in XCode 15

This post is designed to demonstrate how to use assets in Xcode 15. It serves as a quick recap for experienced developers and a helpful

Read More »
IOS
nicola.defilippo

Customize buttons in SwiftUI

In iOS, the size of buttons is typically proportional to the text or icon they contain. However, in some cases, we need buttons of uniform

Read More »
IOS
nicola.defilippo

Map in SwiftUI (Episode V)

In this fifth and final episode of our series on Maps in SwiftUI, we’ll learn how to: As usual, let’s start from the beginning. In

Read More »
IOS
nicola.defilippo

Map in SwiftUI (episode II°)

In this post, we’ll learn how to: Add Markers Let’s see how to add a marker to both Berkeley and Stanford Universities. First, we’ll create

Read More »
IOS
nicola.defilippo

Horizontal Menu in SwiftUI

In this post, we’ll learn how to build a horizontal menu similar to the one used in the Medium mobile application, like this: The code

Read More »
IOS
nicola.defilippo

Segmented Control in SwiftUI

In this post we’ll learn: Create the segment control Let’s start by creating a segment control that allows choosing from the days of the week:

Read More »
reflections
nicola.defilippo

Journaling and time managment

Last post of the year, and I’d like to share my experience with journaling and time management. I started six years ago to improve my

Read More »
IOS
nicola.defilippo

Timer and Shape in SwiftUI

Creating a Dynamic Christmas Tree with Decorations and Light Effects In this blog, we’ll learn: Shortly, we’ll create this (tree.mov): Create the triangle First, the

Read More »
IOS
nicola.defilippo

Onboarding with a pager

To help you with creating an onboarding screen using a custom pager with a custom font, custom color, and button, I’ll guide you through the

Read More »
Qt
nicola.defilippo

TableView in QML

Take a look at how the TableView works in Qt6 with QML. If we refer to the example from the official documentation, we find this

Read More »
Go Docker Mongodb
Back-End
nicola.defilippo

MongoDb, Go and Docker Compose

In this brief post, I’ll share how to use MongoDB in a Golang application executed within a Docker container, using docker-compose. The challenge is ensuring

Read More »
IOS
nicola.defilippo

Close Keyboard on IOS

In the last week-end, while I was working on my side project, I discovered a problem: on iOS the keyboard stay opened after it’s opened

Read More »
IOS
nicola.defilippo

Carousel

Today, we often see complex interfaces built using carousel components, as seen on Netflix, Amazon, and others. In this post, I will show you how

Read More »
IOS
nicola.defilippo

News in X14 and AnyLayout

New canvas layout and settings In XCode 14 we have some changes that can help the developers. The main things are in the canvas (UI

Read More »
IOS
nicola.defilippo

iOS Tracking Transparency

You must use the AppTrackingTransparency framework if your app collects data about end users and shares it with other companies for purposes of tracking across

Read More »
IOS
nicola.defilippo

SwiftUI and Bluetooth

In this post, I show how to connect a Bluetooth device from SwiftUI and how to receive data. The code used in this example is

Read More »
IOS
nicola.defilippo

Expand List Item

In this post, we see how to expand a list item of a list. To do this is not complicated, the principle is simple when

Read More »
IOS
nicola.defilippo

SearchBar with SwiftUI

From September 2021 is finally available native SwiftUI SearchBar component, so is not anymore necessary to attach UIKit things to have the search bar in

Read More »
Andriod
nicola.defilippo

Qml – Copy And Paste

Sometimes in mobile applications is helpful can copy text between applications (i.e. wifi password or simply text). With a simple Text is impossible to do

Read More »
Back-End
nicola.defilippo

SSH and AWS LightSail

For a side project I need a simple server, so i choosed an AWS LightSail Linux Server. I installed the Amazon Linux distribution, then using

Read More »
Coding and Reneissance
nicola.defilippo

Coding and Renaissance

These days we talk a lot about coding as the new critical thinking and as new literature. I want to go beyond, perhaps with the

Read More »
books
nicola.defilippo

The Software Craftsman

I’m very enthusiastic about the book “The Software Craftsman: Professionalism, Pragmatism, Pride” by Sandro Mancuso (https://amzn.to/34ksWKV). It’s in my top three for the IT book.

Read More »
IOS
nicola.defilippo

Toolbar and Customization

In the previous post (https://nicoladefilippo.com/navigation-in-swiftui/) we saw how to navigate between the views in the app. In this post, we see another element to implement

Read More »
IOS
nicola.defilippo

List in SwiftUI

In this post, I explain how to use the list to show a list of elements. The first simple example: The magic word is List, which

Read More »
IOS
nicola.defilippo

Images And Assets

In this post, we see how to use the images with SwiftUI and how to create some beautiful effect. In beginning, we have to add

Read More »
IOS
nicola.defilippo

Layout in SwiftUI

Vertical Stack In the previous post we saw a single object in the view, but to build a nice and helpful interface we need to

Read More »
IOS
nicola.defilippo

Button 2nd episode

Button Shape In the previous post https://nicoladefilippo.com/text-and-button-with-swuiftui/, we saw how to create simple buttons, in this post we see also it’s possible also create a

Read More »
Team Management
nicola.defilippo

Worker or Craftsman

Yesterday morning I was contacted by an entrepreneur that needs to talk to me about his problem: He can’t find developers to make some tasks.

Read More »
IOS
nicola.defilippo

Swift in five minutes

In this post, I’ll show the fundamentals of the Swift language. It’s the first of a series where I’ll show how to build a chat

Read More »
IOS
nicola.defilippo

SwiftUI and Shake Gesture

There isn’t a way to catch the shake gesture only using SwiftUI, so it’s necessary use these frameworks: Uikit and Combine. Combine is very helpful in this case

Read More »
Back-End
nicola.defilippo

Golang MongoDb raw pagination

I’m writing a complex query (for a beginner user) for mongodb using the golang official driver, i’d like share my code to help other user.

Read More »
Front-End
nicola.defilippo

Elm upgrade package

I start with my conclusion: use elm-json for the elm packages. Now, my story: Yesterday, a member of my team joined to my elm project

Read More »
Qt
nicola.defilippo

QML vs SwiftUI (Part 3)

In this article we’ll see the different use of the lists that is a very most used components in the mobile apps. We starting with

Read More »
Qt
nicola.defilippo

QML vs Swift (part 2)

In this part we’ll see how use the Button in both the languages. In QML we define the button in this way: Where in the

Read More »
IOS
nicola.defilippo

QML VS. SwiftUI (part 1)

In this series I’ll show the difference between QML and SwiftUI. Both are declarative language, the first on is part of the Qt cross-platform library,

Read More »
woman coding on computer
Qt
nicola.defilippo

QML VS SwiftUI (Appendix)

In the previous stories we shown the main difference between the QML and SwiftUI, both are declarative, QML has a lot of components because is

Read More »

My Newsletter

I will coach you and help you achieve your coding goals. At this blog, 

I will help you in every step of the way by sending to you my super content on coding

a couple of times a month to maximize your coding skills and team management.

Join our family, What are you waiting for?

Take the first step today;)