Skip to content

Instantly share code, notes, and snippets.

View jeremieb's full-sized avatar
😌

Jeremie Berduck jeremieb

😌
View GitHub Profile
@jeremieb
jeremieb / UIDevices.swift
Last active February 1, 2022 20:12
Return the current device model name
/// This is based on the following:
/// • https://www.zerotoappstore.com/how-to-get-iphone-device-model-swift.html
/// • Devices list : https://gist.github.com/adamawolf/3048717
///
/// for using it:
/// print("\(UIDevice().type)")
import UIKit
public extension UIDevice {
@jeremieb
jeremieb / FeedbackView.swift
Last active February 3, 2022 08:30
This form is sending user feedback to Github Issues
//
// MenuFeedback.swift
// Densha Otaku (iOS)
//
// Created by Jérémie Berduck on 27/01/2022.
//
import SwiftUI
import OctoKit

Keybase proof

I hereby claim:

To claim this, I am signing this object: