SlideShare una empresa de Scribd logo
1 de 16
Descargar para leer sin conexión
A p p l e a b b a n d o n a U I K i t p e r l o
s v i l u p p o d i U I ?
SwiftUI
Rudy Fastell
i

Mobile Architect & iOS Specialist
Da iPhone OS a iOS 1
5

UIKit, cenni storici ed evoluzion
e

Sviluppo di interfacce su iO
S

Presentazione di SwiftU
I

Principali differenze tra UIKit e SwiftU
I

Adozione di SwiftUI, a che punto siamo?
AGENDA
“ I r e t t a n g o l i c o n g l i a n g o l i
a r r o t o n d a t i s o n o o v u n q u e !
G u a r d a t i i n t o r n o i n q u e s t a s t a n z a !
”

S t e v e J o b s a B i l l A t k i n s o
n
U n a r i c e r c a m a n i a c a l e
MINIMAL
- Imperativ
o

- Interface Builde
r

- Xib
 

- MVC forzato (quasi
)

- Storyboar
d

- Autolayou
t

- StackView
UIKit
L
e
O
r
i
g
i
n
i
UIKit
C
o
n
t
i
n
u
a
e
v
o
l
u
z
i
o
n
e
:
S
t
o
r
y
b
o
a
r
d
UIKit
C R E A T I V E P R E S E N T A T I O N
MINIMAL
lorem ipsum is simply dummy
text of the printing and
typesetting industry. lorem
ipsum the industry's standard
C
o
n
t
i
n
u
a
e
v
o
l
u
z
i
o
n
e
:
A
u
t
o
l
a
y
o
u
t
UIKit
- Dichiarativ
o

- Live Preview (multi dispositivo)
 

- StackView (su tre assi
)

- Swif
t

- Binding & Observer
SwiftUI
PRO
- Impegnativo da apprender
e

- Non ha una Live Previe
w

- Richiede molte linee di codic
e

- E’ complesso gestire gli autolayout con layout compless
i

- E’ basato su Objective-C
UIKIT CONTRO
- Supporto completo di O
S

- Framework stabil
e

- Documentazione ed esempi esaustivi
PRO
- Supporta solo iOS 13
+

- Framework relativamente giovan
e

- Complesso trovare documentazione e/o esempi
 

- Binding&observer
CONTRO
- Semplice da imparar
e

- Può essere integrato con UIKit mediante UIHostingControlle
r

- Offre Live Previe
w

- Necessita di poche linee di codic
e

- Utilizza Swift come linguaggio di svilupp
o

- Relazione tra eventi e modifica stati gestita dal framework
Swift
UI
S
v
i
l
u
p
p
o
I
n
t
e
r
f
a
c
c
e
UIKit
VS
SwiftUI
S
v
i
l
u
p
p
o
I
n
t
e
r
f
a
c
c
e
UIKit
S
v
i
l
u
p
p
o
I
n
t
e
r
f
a
c
c
e
SwiftUI
Interface Builder


Aggiornamenti interfacce


Documentazione e supporto


Compatibilità


Velocità di sviluppo


Animazioni


Multi Dispositivo


Widget


Storyboard


Cosa è a schermo e come


Completa e esaustiva


Tutti


Standard


Complete ma lente


No


Con molta fatica
Live Preview


Aggiornamento del modello


Embrionale


iOS 13+


Rapida


Integrate


Buoni propositi


Si
VS
Rudy Fastell
i

Mobile Architect & iOS Specialist
GRAZIE

Más contenido relacionado

Más de Commit University

Más de Commit University (20)

Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Crea il tuo assistente AI con lo Stregatto (open source python framework)
Crea il tuo assistente AI con lo Stregatto (open source python framework)Crea il tuo assistente AI con lo Stregatto (open source python framework)
Crea il tuo assistente AI con lo Stregatto (open source python framework)
 
Breaking REST Chains_ A Fastify & Mercurius Pathway to GraphQL Glory.pdf
Breaking REST Chains_ A Fastify & Mercurius Pathway to GraphQL Glory.pdfBreaking REST Chains_ A Fastify & Mercurius Pathway to GraphQL Glory.pdf
Breaking REST Chains_ A Fastify & Mercurius Pathway to GraphQL Glory.pdf
 
Accelerating API Development: A Pit Stop with Gin-Gonic in Golang-Slide.pdf
Accelerating API Development: A Pit Stop with Gin-Gonic in Golang-Slide.pdfAccelerating API Development: A Pit Stop with Gin-Gonic in Golang-Slide.pdf
Accelerating API Development: A Pit Stop with Gin-Gonic in Golang-Slide.pdf
 
Slide-10years.pdf
Slide-10years.pdfSlide-10years.pdf
Slide-10years.pdf
 
Collaborazione, Decisionalità e Gestione della Complessità nel Tempo: cosa ...
Collaborazione, Decisionalità e Gestione della Complessità nel Tempo: cosa ...Collaborazione, Decisionalità e Gestione della Complessità nel Tempo: cosa ...
Collaborazione, Decisionalità e Gestione della Complessità nel Tempo: cosa ...
 
Vue.js slots.pdf
Vue.js slots.pdfVue.js slots.pdf
Vue.js slots.pdf
 
Commit - Qwik il framework che ti stupirà.pptx
Commit - Qwik il framework che ti stupirà.pptxCommit - Qwik il framework che ti stupirà.pptx
Commit - Qwik il framework che ti stupirà.pptx
 
Sviluppare da zero una Angular Web App per la PA
Sviluppare da zero una Angular Web App per la PASviluppare da zero una Angular Web App per la PA
Sviluppare da zero una Angular Web App per la PA
 
Backstage l'Internal Developer Portal Open Source per una migliore Developer ...
Backstage l'Internal Developer Portal Open Source per una migliore Developer ...Backstage l'Internal Developer Portal Open Source per una migliore Developer ...
Backstage l'Internal Developer Portal Open Source per una migliore Developer ...
 
Prisma the ORM that node was waiting for
Prisma the ORM that node was waiting forPrisma the ORM that node was waiting for
Prisma the ORM that node was waiting for
 
Decision-making for Software Development Teams - Commit University
Decision-making for Software Development Teams - Commit UniversityDecision-making for Software Development Teams - Commit University
Decision-making for Software Development Teams - Commit University
 
Component Design Pattern nei Game Engine.pdf
Component Design Pattern nei Game Engine.pdfComponent Design Pattern nei Game Engine.pdf
Component Design Pattern nei Game Engine.pdf
 
Un viaggio alla scoperta dei Language Models e dell’intelligenza artificiale ...
Un viaggio alla scoperta dei Language Models e dell’intelligenza artificiale ...Un viaggio alla scoperta dei Language Models e dell’intelligenza artificiale ...
Un viaggio alla scoperta dei Language Models e dell’intelligenza artificiale ...
 
Prototipazione Low-Code con AWS Step Functions
Prototipazione Low-Code con AWS Step FunctionsPrototipazione Low-Code con AWS Step Functions
Prototipazione Low-Code con AWS Step Functions
 
KMM survival guide: how to tackle struggles between Kotlin and Swift
KMM survival guide: how to tackle struggles between Kotlin and SwiftKMM survival guide: how to tackle struggles between Kotlin and Swift
KMM survival guide: how to tackle struggles between Kotlin and Swift
 
Da Vuex a Pinia: come fare la migrazione
Da Vuex a Pinia: come fare la migrazioneDa Vuex a Pinia: come fare la migrazione
Da Vuex a Pinia: come fare la migrazione
 
Orchestrare Micro-frontend con micro-lc
Orchestrare Micro-frontend con micro-lcOrchestrare Micro-frontend con micro-lc
Orchestrare Micro-frontend con micro-lc
 
Fastify has defeated Lagacy-Code
Fastify has defeated Lagacy-CodeFastify has defeated Lagacy-Code
Fastify has defeated Lagacy-Code
 
Alpine.js: the outsider Javascript framework
Alpine.js: the outsider Javascript frameworkAlpine.js: the outsider Javascript framework
Alpine.js: the outsider Javascript framework
 

SwiftUI vs UIKit

  • 1. A p p l e a b b a n d o n a U I K i t p e r l o s v i l u p p o d i U I ? SwiftUI Rudy Fastell i Mobile Architect & iOS Specialist
  • 2. Da iPhone OS a iOS 1 5 UIKit, cenni storici ed evoluzion e Sviluppo di interfacce su iO S Presentazione di SwiftU I Principali differenze tra UIKit e SwiftU I Adozione di SwiftUI, a che punto siamo? AGENDA
  • 3. “ I r e t t a n g o l i c o n g l i a n g o l i a r r o t o n d a t i s o n o o v u n q u e ! G u a r d a t i i n t o r n o i n q u e s t a s t a n z a ! ” S t e v e J o b s a B i l l A t k i n s o n
  • 4. U n a r i c e r c a m a n i a c a l e MINIMAL
  • 5. - Imperativ o - Interface Builde r - Xib - MVC forzato (quasi ) - Storyboar d - Autolayou t - StackView UIKit
  • 8. C R E A T I V E P R E S E N T A T I O N MINIMAL lorem ipsum is simply dummy text of the printing and typesetting industry. lorem ipsum the industry's standard C o n t i n u a e v o l u z i o n e : A u t o l a y o u t UIKit
  • 9. - Dichiarativ o - Live Preview (multi dispositivo) - StackView (su tre assi ) - Swif t - Binding & Observer SwiftUI
  • 10. PRO - Impegnativo da apprender e - Non ha una Live Previe w - Richiede molte linee di codic e - E’ complesso gestire gli autolayout con layout compless i - E’ basato su Objective-C UIKIT CONTRO - Supporto completo di O S - Framework stabil e - Documentazione ed esempi esaustivi
  • 11. PRO - Supporta solo iOS 13 + - Framework relativamente giovan e - Complesso trovare documentazione e/o esempi - Binding&observer CONTRO - Semplice da imparar e - Può essere integrato con UIKit mediante UIHostingControlle r - Offre Live Previe w - Necessita di poche linee di codic e - Utilizza Swift come linguaggio di svilupp o - Relazione tra eventi e modifica stati gestita dal framework Swift UI
  • 15. Interface Builder Aggiornamenti interfacce Documentazione e supporto Compatibilità Velocità di sviluppo Animazioni Multi Dispositivo Widget Storyboard Cosa è a schermo e come Completa e esaustiva Tutti Standard Complete ma lente No Con molta fatica Live Preview Aggiornamento del modello Embrionale iOS 13+ Rapida Integrate Buoni propositi Si VS
  • 16. Rudy Fastell i Mobile Architect & iOS Specialist GRAZIE