Skip to content

Instantly share code, notes, and snippets.

View leojquinteros's full-sized avatar
🎯
Focusing

Leo Quinteros leojquinteros

🎯
Focusing
View GitHub Profile
@leojquinteros
leojquinteros / CollapsableHeader.swift
Last active June 19, 2023 16:37
Just playing around with a collapsable header using SwiftUI
//
// CollapsableHeader.swift
//
// Created by Leo Quinteros on 25/06/22.
//
import SwiftUI
struct Message: Identifiable {
var id = UUID().uuidString
@leojquinteros
leojquinteros / Refreshable.swift
Last active June 19, 2023 16:37
[XCode 13] new swipeActions and refreshable using SwiftUI
//
// Refreshable.swift
//
// Created by Leo Quinteros on 17/06/21.
//
import SwiftUI
import Combine
struct Country: Decodable, Hashable {
@leojquinteros
leojquinteros / WeatherContentView.swift
Last active June 19, 2023 16:36
Just playing around with SwiftUI
//
// WeatherContentView.swift
//
// Created by Leo Quinteros on 21/02/21.
//
import SwiftUI
struct CityModel: Identifiable {
var id = UUID()