Skip to content

Instantly share code, notes, and snippets.

View amosgyamfi's full-sized avatar

Amos Gyamfi amosgyamfi

View GitHub Profile
//
// ContentView.swift
// SwiftUI Multiline Text Editor
//
// Created by Amos Gyamfi on 24.7.2020.
//
import SwiftUI
struct ContentView: View {
//
// ContentView.swift
// textfield
//
// Created by Amos Gyamfi on 24.7.2020.
//
import SwiftUI
struct ContentView: View {
//
// ContentView.swift
// Showing and hiding overflow/secondary content with DIsclosureGroup
//
// Created by Amos Gyamfi on 1.8.2020.
//
import SwiftUI
struct ContentView: View {
//
// ContentView.swift
// dateInterval
//
// Created by Amos Gyamfi on 2.8.2020.
//
import SwiftUI
struct ContentView: View {
//
// ContentView.swift
// interaction_mapping
//
// Created by Amos Gyamfi on 4.8.2020.
//
import SwiftUI
struct ContentView: View {
@amosgyamfi
amosgyamfi / PhotoZoom.swift
Created August 10, 2020 23:25
Seamless photo zoom effect using geometry matching.
//
// ContentView.swift
// Create seamless photo zoom effect using geometry matching.
//
// Created by Amos Gyamfi on 8.8.2020.
//Create Smooth Transitions with Geometry Matching
import SwiftUI
struct ContentView: View {
@amosgyamfi
amosgyamfi / SpringyPhotoZoom.swift
Created August 14, 2020 06:38
Springy Photo Zoom Using Geometry Matching
//
// ContentView.swift
// photo_zoom
//
// Created by Amos Gyamfi on 8.8.2020.
//Create Smooth Transitions with Geometry Matching
import SwiftUI
struct ContentView: View {
import SwiftUI
import PlaygroundSupport
struct ContentView: View {
@State private var beating = false
//
// ContentView.swift
// measuring_heartrate
//
// Created by Amos Gyamfi on 21.6.2020.
// Copyright © 2020 Amos Gyamfi. All rights reserved.
//
import SwiftUI
import SwiftUI
import PlaygroundSupport
struct ContentView: View {
@State private var topRotates = false
@State private var middleIsHidden = false
@State private var bottomRotates = false