all InfoSec news
Day 20-22: 100 Days of SwiftUI - Guess the Flag (Project 2)
April 12, 2022, 2:54 a.m. | John Kevin Losito
DEV Community dev.to
https://www.hackingwithswift.com/100/swiftui/20
https://www.hackingwithswift.com/100/swiftui/21
https://www.hackingwithswift.com/100/swiftui/22
Guess the flag project introduces another set of SwiftUI views which includes stacks, images, colors and gradient, and alerts.
Using stacks to arrange views
There are views that are useful if you want to render multiple views: VStack, HStack, ZStack.
VStack
Use this to place two or more views one after the other, vertically stacked.
var body: some View {
VStack {
Text("Hello, world!")
Text("This is inside a stack")
}
}
You can add spacing between views …
More from dev.to / DEV Community
Jobs in InfoSec / Cybersecurity
Cybersecurity Skills Challenge -- Sponsored by DoD
@ Correlation One | United States
Security Operations Center (SOC) Analyst
@ GK Cybersecurity Group | Remote
Azure Security Architect
@ First Quality | Remote US - Eastern or Central Timezone
Senior Security Engineer
@ LRQA | Birmingham, GB, B37 7ES
Product Security Intern
@ Sinch | Chicago, Illinois, United States
Cyber Support Engineer
@ Darktrace | New York