Skip to content

Instantly share code, notes, and snippets.

View gist:3b10b4492832d860c614c007434a002e
//
// PlaygroundView.swift
//
// Created by Balazs Erdesz on 2021. 03. 31..
//
import SwiftUI
struct PlaygroundView: View {
var body: some View {
View Jumping view with anchors, alignmentGuides and preferenceKeys
//
// TransactionView.swift
//
// Created by Balazs Erdesz on 2021. 02. 23..
//
import SwiftUI
import Combine
struct TransactionView: View {
@balazserd
balazserd / ContentView.swift
Last active May 6, 2020
Custom ActivityIndicator in SwiftUI
View ContentView.swift
import SwiftUI
import Combine
struct ContentView: View {
@State private var isLoading: Bool = false
var body: some View {
VStack {
Spacer()
ActivityIndicator(isSpinning: self.$isLoading)