category 'Tutorial'

assets/images/SwiftUI-within-UIKit.png
SwiftUI within UIKit: Connecting two worlds.

Last evening, I was involved in a very interesting Clubhouse room, talking about SwiftUI and Swift interoperability. The rest of...

assets/images/38174501-292038424679710-8596221651027230720-n-1.jpg.png
SwiftUI Programming: ObjectBinding and BindableObject

In a previous article we have seen that in SwiftUI is possible to associate one or more states to a...

assets/images/37654417-2162901137331995-3371791331587260416-n-1.jpg.png
SwiftUI Programming: An Introduction to States

We have seen in a previous article that in SwiftUI a View is a struct that conforms to the View...

assets/images/37508173-214440269235992-660777772142034944-n-1.jpg.png
SwiftUI Programming: Building more complex views

We have seen that SwiftUI always requires to expose a body that returns a View. In the construction of complex...

assets/images/37410629-204888016845505-7213627341497434112-n-2.jpg.png
SwiftUI Programming: Classes and Structs in SwiftUI

I’m pretty sure that everyone had the following question, at least one time.

assets/images/37368385-241917946439459-915441050435190784-n-1.jpg.png
SwiftUI Programming: The View Object

We have seen that SwiftUI is a declarative framework. The visual result of what we see in our device is...

assets/images/37169582-1867685450200563-1051784293325471744-n-1.jpg.png
SwiftUI Programming: An Introduction

SwiftUI certainly marks the beginning of a new chapter in the history of development at Apple. For years we have...

assets/images/1*YQE2AKgMOK_385sgLSMa6A.jpg
TextField and UIViewRepresentable

At a glance, when I first tried SwiftUI after the WWDC19 introduction, one of the biggest concern was certainly related...

assets/images/1*gr_IZC4Pjs5vGegmVVJdOQ.png
A TicTacToe game in SwiftUI

Today we will try to build a TicTacToe game in less than 160 lines with SwiftU Apple’s new declarative framework...

assets/images/1*4-yeziG5yH5S-t0PQCxNGA.jpeg
SwiftUI programming

SwiftUI certainly marks the beginning of a new era in Apple’s programming history. In the last years we have witnessed...

assets/images/arkit-og.png
WWDC18: ARKit2 a 2D tracking performances comparison

One of the most interesting tech trend of the last year was for sure Augmented Reality. All the big have...

assets/images/cloudkitSharingCOntroller.jpg
Custom CloudKit sharing workflow

CloudKit has a strong emphasis on users privacy and security. Since one of the main concern for my last work...

assets/images/1*1KXpNu0d3cON6vSIzfBpUA.jpeg
Stored properties and extensions: a pure Swift approach

One of the most common question regarding swift extensions is about stored properties. How many times have you wished a...

assets/images/homekit-banner.jpg
Creiamo un accessorio per HomeKit

Quest’articolo vuole essere una breve guida introduttiva su come creare un accessorio compatibile con HomeKit sfruttando componentistica di riuso ed...

assets/images/1*PHHhSYDTEkC90UkAelHU3A.jpeg
A Swift extension for String and HTML

One of the most common daily request received is to manage html strings from a backend, rendering them correctly within...