Skip to content

Instantly share code, notes, and snippets.

@xmarkmaxwell
xmarkmaxwell / BrowserView.swift
Last active March 30, 2023 17:24
A WebView Browser for SwiftUI (single file gist)
//
// WebViewUI.swift
// Styling
//
// Created by Mark C. Maxwell on The New Lux
// Copyright © 2020. All rights reserved.
// Source: https://github.com/kylehickinson/SwiftUI-WebView
import Combine
import SwiftUI
@xmarkmaxwell
xmarkmaxwell / CodableJSON.swift
Created June 16, 2020 20:06
Codable JSON extensions and Codec service.
//
// Codable+JSON.swift
// swytUI
//
// Created by Mark Maxwell on 12/11/19.
// Copyright © 2019 eonflux. All rights reserved.
//
import UIKit
import SwiftUI
@xmarkmaxwell
xmarkmaxwell / StorageDB.swift
Last active June 16, 2020 20:25
Easy API to store individual entries in UserDefaults to speed up access in large applications.
//
// Storage.swift
// MaxwellSpex
//
// Created by mark maxwell on 5/13/20.
// Copyright © 2020 maxwell.design. All rights reserved.
//
import Combine
import Foundation