For the entirety of this guide we'll assume your project's name is libfoo
.
To follow this tutorial exactly, you will need:
- Xcode 11.4 beta (
sudo xcode-select -s /Applications/Xcode-beta.app
); - Simject installed according to its readme; and
/******************************************** | |
It's fucking Safari in Firefox!!! | |
author: github.com/bermudalocket | |
*********************************************/ | |
/* No fucking shadows. */ | |
* { |
extension Color { | |
static let systemRed = Color(UIColor.systemRed) | |
static let systemGreen = Color(UIColor.systemGreen) | |
static let systemTeal = Color(UIColor.systemTeal) | |
static let systemBlue = Color(UIColor.systemBlue) | |
static let systemYellow = Color(UIColor.systemYellow) | |
static let systemOrange = Color(UIColor.systemOrange) | |
static let systemPink = Color(UIColor.systemPink) | |
static let systemPurple = Color(UIColor.systemPurple) | |
static let systemIndigo = Color(UIColor.systemIndigo) |
import Combine | |
import Foundation | |
let preferenceKey = "com.bermudalocket.myapp" | |
@propertyWrapper | |
struct Persistable<T> { | |
let key: String |
// ==UserScript== | |
// @name Reddit Code-ifier | |
// @namespace https://*.reddit.com/* | |
// @version 1.0 | |
// @description Fix up messy code formatting on Reddit. | |
// @author u/thebermudalocket | |
// @match https://*.reddit.com/* | |
// @grant none | |
// @run-at document-end | |
// ==/UserScript== |
import PlaygroundSupport | |
import SwiftUI | |
struct ContentView: View { | |
@State private var userQuestions: [String] = [ | |
"one", "two" | |
] | |
var body: some View { |
Shader "Name" { | |
Properties { | |
_Name ("display name", Range (min, max)) = number | |
_Name ("display name", Float) = number | |
_Name ("display name", Int) = number | |
_Name ("display name", Color) = (number,number,number,number) | |
_Name ("display name", Vector) = (number,number,number,number) |
This list is generally ordered from most to least recent, though there are undoubtedly some overlaps.
⭐ - indicates a project of which I am particularly proud, typically large in scope
📚 - indicates a project with extensive public-facing documentation
✴️ - indicates a particular highlight for a project, e.g. an important choice I made, or just some sweet code