Skip to content

Instantly share code, notes, and snippets.

View emin-grbo's full-sized avatar
💻
Getting Schwifty

emin emin-grbo

💻
Getting Schwifty
View GitHub Profile
@emin-grbo
emin-grbo / haptictTest
Created August 19, 2021 20:03
Watch Haptics preview
import SwiftUI
struct ContentViewWatch: View {
@State var selection = 0
var body: some View {
VStack {
Picker("Haptic Type", selection: $selection) {
Text("notification").tag(0)
@emin-grbo
emin-grbo / BlendModes.swift
Created July 14, 2021 17:13
SwiftUI Blend modes Preview
import SwiftUI
struct Blender: Identifiable {
let id = UUID()
let mode: BlendMode
let name: String
}
struct BlendModes: View {
@emin-grbo
emin-grbo / CardView.swift
Last active August 5, 2021 21:28
CardViewWithShimmer
import SwiftUI
import CoreMotion
struct CardView: View {
@StateObject var motion = MotionManager()
var body: some View {
ZStack {
Color.white