Skip to content

Instantly share code, notes, and snippets.

Avatar
🐢

Joey Banks joeyabanks

🐢
View GitHub Profile
View AppleTV4KRemote.swift
import SwiftUI
import PlaygroundSupport
struct divider: View {
var body: some View {
VStack {
Rectangle()
.frame(height: 1)
.opacity(0.1)
}
View 2021Remote.swift
import SwiftUI
import PlaygroundSupport
struct ClickWheel: View {
var body: some View {
ZStack {
Circle()
.fill(LinearGradient(
gradient: Gradient(stops: [
.init(color: Color(#colorLiteral(red: 0.21568627655506134, green: 0.21568627655506134, blue: 0.21568627655506134, alpha: 1)), location: 0),
View Lockscreen.swift
import SwiftUI
import PlaygroundSupport
struct Screen: View {
var body: some View {
VStack {
// status bar
HStack {
Text("Verizon")
.font(.body)
View Files.swift
import SwiftUI
import PlaygroundSupport
struct searchBar: View {
@State var input = ""
var body: some View {
VStack {
HStack {
Image(systemName: "magnifyingglass")
TextField("Search", text: $input)
View AppleTVRemote.swift
import SwiftUI
import PlaygroundSupport
struct divider: View {
var body: some View {
VStack {
Rectangle()
.frame(height: 1)
.opacity(0.1)
}
View Podcasts.swift
import SwiftUI
import PlaygroundSupport
struct showArt: View {
@Binding var isPlaying: Bool
var body: some View {
VStack {
VStack {
RoundedRectangle(cornerRadius: 16)
.shadow(color: Color(UIColor.black.withAlphaComponent( isPlaying ? 0.3 : 0.1)), radius: 20, x: 0, y: 10)
View SMSVerify
import SwiftUI
import PlaygroundSupport
struct phoneInput: View {
@State var input = ""
var body: some View {
VStack {
HStack (spacing: 14) {
Text("🇺🇸")
Divider()
View AppStore.swift
import SwiftUI
import PlaygroundSupport
struct app: View {
var appTitle: String
var appDesc: String
var appColor: Color
var body: some View {
HStack (alignment: .center, spacing: 14) {
VStack {
View Remote.swift
import SwiftUI
import PlaygroundSupport
//Created for Dark Mode
struct RemoteButton: View {
let label: String
@State var pressed = false
var body: some View {
ZStack {
View Health.swift
import SwiftUI
import PlaygroundSupport
struct healthRow: View {
var icon: String
var category: String
var categoryColor: Color
var time: String
var reading: String
var units: String