Skip to content

Instantly share code, notes, and snippets.

View popup.swift
//
// ContentView.swift
// popup
//
// Created by Amos Gyamfi on 1.6.2020.
// Copyright © 2020 Amos Gyamfi. All rights reserved.
//
import SwiftUI
@amosgyamfi
amosgyamfi / darkmode.swift
Created Jun 15, 2020
Dark Mode: Using Default Colors and System Colors
View darkmode.swift
//
// ContentView.swift
// Dark Mode
//
// Created by Amos Gyamfi on 13.6.2020.
// Copyright © 2020 Amos Gyamfi. All rights reserved.
//
import SwiftUI
@amosgyamfi
amosgyamfi / syncing_loader.swift
Created Jun 17, 2020
This is an example SwiftUI animation prototyping using xCode Playground on iPad
View syncing_loader.swift
import SwiftUI
import PlaygroundSupport
struct ContentView: View {
@State private var isSpinning = false
@State private var isShowing = false
@State private var isDisplaying = false
View audio_tweet.swift
//
// ContentView.swift
// audio_tweet
//
// Created by Amos Gyamfi on 18.6.2020.
// Copyright © 2020 Amos Gyamfi. All rights reserved.
//
import SwiftUI
View Audio_levels.swift
import SwiftUI
import PlaygroundSupport
struct ContentView: View {
@State private var played = false
@State private var yScaleIndicator1 = false
@State private var yScaleIndicator2 = false
@State private var yScaleIndicator3 = false
View touch_id_animation.swift
//
// ContentView.swift
// touch_id
//
// Created by Amos Gyamfi on 19.6.2020.
// Copyright © 2020 Amos Gyamfi. All rights reserved.
//
import SwiftUI
@amosgyamfi
amosgyamfi / loader.swift
Created Jul 17, 2020
A loader with variable width
View loader.swift
//
// ContentView.swift
// content_loading
//
// Created by Amos Gyamfi on 12.7.2020.
//
import SwiftUI
struct ContentView: View {
View text_loader.swift
//
// ContentView.swift
// Text Loader
//
// Created by Amos Gyamfi on 12.7.2020.
//
import SwiftUI
struct ContentView: View {
View breath.swift
//
// ContentView.swift
// breath
//
// Created by Amos Gyamfi on 17.7.2020.
//
import SwiftUI
struct ContentView: View {
View alarm.swift
//
// ContentView.swift
// iPhone Alarm Screen
//
// Created by Amos Gyamfi on 21.7.2020.
//
import SwiftUI
struct ContentView: View {