Skip to content

Instantly share code, notes, and snippets.

View vadimbelyaev's full-sized avatar

Vadim Belyaev vadimbelyaev

View GitHub Profile
@vadimbelyaev
vadimbelyaev / RoundingCornersDemo.swift
Created May 29, 2022 21:38
Two ways of rounding corners in SwiftUI
import SwiftUI
struct ContentView: View {
@State private var isBeautiful = false
var body: some View {
VStack {
Spacer()
ZStack {
Text(".cornerRadius")
.foregroundColor(.white)