Skip to content

Instantly share code, notes, and snippets.

Avatar
🐢

Joey Banks joeyabanks

🐢
View GitHub Profile
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
View iPodMini.swift
// Recreated from Jordan Singer's iPod.swift - https://gist.github.com/jordansinger/b3ba0e6063116e5dae01b82301545818
import SwiftUI
import PlaygroundSupport
struct iPod: View {
var body: some View {
VStack(spacing: 56) {
Screen()
ClickWheel()
View AppleMusic.swift
import SwiftUI
import PlaygroundSupport
struct Album: View {
var body: some View {
VStack (spacing: 16) {
Rectangle()
.fill(LinearGradient(
gradient: Gradient(stops: [
.init(color: Color(#colorLiteral(red: 1, green: 0.6745098233222961, blue: 0.7764706015586853, alpha: 1)), location: 0),
View WelcomeTo.swift
import SwiftUI
import PlaygroundSupport
struct whatsNewRow: View {
var icon: String
var title: String
var description: String
var body: some View {
HStack (spacing: 24) {