Skip to content

Instantly share code, notes, and snippets.

View joeyabanks's full-sized avatar
🐢

Joey Banks joeyabanks

🐢
View GitHub Profile
import SwiftUI
import PlaygroundSupport
struct whatsNewRow: View {
var icon: String
var title: String
var description: String
var body: some View {
HStack (spacing: 24) {
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),
// 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()
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
import SwiftUI
import PlaygroundSupport
//Created for Dark Mode
struct RemoteButton: View {
let label: String
@State var pressed = false
var body: some View {
ZStack {
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 {
import SwiftUI
import PlaygroundSupport
struct phoneInput: View {
@State var input = ""
var body: some View {
VStack {
HStack (spacing: 14) {
Text("🇺🇸")
Divider()
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)
import SwiftUI
import PlaygroundSupport
struct divider: View {
var body: some View {
VStack {
Rectangle()
.frame(height: 1)
.opacity(0.1)
}
import SwiftUI
import PlaygroundSupport
struct searchBar: View {
@State var input = ""
var body: some View {
VStack {
HStack {
Image(systemName: "magnifyingglass")
TextField("Search", text: $input)