Skip to content

Instantly share code, notes, and snippets.

View MrSkwiggs's full-sized avatar
:shipit:

Skwiggs MrSkwiggs

:shipit:
View GitHub Profile
@MrSkwiggs
MrSkwiggs / Colorful.xccolortheme
Created July 8, 2025 07:20
My Xcode theme (light) - Requires font: Monaspace Neon (frozen)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>DVTConsoleDebuggerInputTextColor</key>
<string>0.276128 0.527903 0.69306 1</string>
<key>DVTConsoleDebuggerInputTextFont</key
<string>MonaspaceNeonFrozen-Bold - 12.0</string>
<key>DVTConsoleDebuggerOutputTextColor</key>
<string>0 0 0 1</string>
@MrSkwiggs
MrSkwiggs / MultilevelOptionalCoalescing.swift
Last active April 16, 2020 11:40
?? Operator for multiple-optionals - Overloads that extends the default ?? operator behaviour up to triple optionals
//
// Created by Dorian Grolaux on 14/01/2020.
// Copyright © 2020 Skwiggs Inc. All rights reserved.
//
import Foundation
/**
Nil coalesces 2-level optionals in a single step
*/
@MrSkwiggs
MrSkwiggs / LocalizationManagerGenerator.swift
Last active October 29, 2022 23:41
A Swift script that generates enums for each strings file your project contains. Compile-time localization validation !
#!/usr/bin/env xcrun --sdk macosx swift
//
// AutoLocalizationManagerCreator
//
// Created by Dorian Grolaux on 25/04/2019.
// Copyright © 2019 Dorian Grolaux. All rights reserved.
//
import Foundation