Skip to content

Instantly share code, notes, and snippets.

@llophex
llophex / hhgttg.characters.swift
Created March 18, 2024 15:24
hhgttg characters screen, provided by https://github.com/VersionMismatch
// Provided By https://github.com/VersionMismatch
// This code is not warrantied to work
import SwiftUI
import UIKit
// Model
struct Character: Identifiable {
let id = UUID()

Keybase proof

I hereby claim:

  • I am llophex on github.
  • I am llopez (https://keybase.io/llopez) on keybase.
  • I have a public key whose fingerprint is D750 609D B11E 3BA8 2EEA 9A94 4CCD 463D F044 54D6

To claim this, I am signing this object:

llopez Leandro Lopez Buenos Aires

Keybase proof

I hereby claim:

  • I am llophex on github.
  • I am llopez (https://keybase.io/llopez) on keybase.
  • I have a public key ASCojXT6SchiY-rD91zr3X6C0PV2El_cV-I8zVkpclY7lwo
@llophex
llophex / UIView+Border.swift
Created October 18, 2018 09:05 — forked from MrJackdaw/UIView+Border.swift
Extension for adding border to one side of UIView
import UIKit
extension UIView {
enum ViewSide {
case Left, Right, Top, Bottom
}
/// Adds a border to the view creating a new sublayer, every time it's called for the same element will create a new sublayer.
///