This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct ContentView: View { | |
@State private var selection = 0 | |
private var actionSelection: Binding<Int> { | |
Binding<Int>(get: { | |
self.selection | |
}) { (newValue: Int) in | |
if newValue == 1 { | |
// put action here |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"basics": { | |
"name": "Lorenzo Fiamingo", | |
"label": "Web Developer, iOS Developer, Electronic Engineer", | |
"picture": "https://media-exp1.licdn.com/dms/image/C4E03AQFF-ufswGL7bw/profile-displayphoto-shrink_200_200/0/1591879723268?e=1620864000&v=beta&t=eSkCC9s9Zn2FF2L4vUldMT_Ij4-4-sXaZ81QY07Daro", | |
"email": "[email protected]", | |
"phone": "+39 329 8015551", | |
"website": "https://lorenzofiamingo.com", | |
"summary": "I’m a young man from Calabria that aims to succeed in engineering. I started programming in high school, and I really love it. At university, I learned C on K&R, and I really get into it... so I started studying from myself and using different programming languages.", | |
"location": |