Skip to content

Instantly share code, notes, and snippets.

View glenngijsberts's full-sized avatar

Glenn Gijsberts glenngijsberts

View GitHub Profile
@glenngijsberts
glenngijsberts / DatePicker.swift
Created February 16, 2025 17:10
SwiftUI DatePicker Color
import SwiftUI
private struct DatepickerColor: ViewModifier {
let color: Color
func body(content: Content) -> some View {
content
.colorScheme(.dark)
.colorMultiply(color)
}
import React from 'react'
import NProgress from 'nprogress'
import Router from 'next/router'
import { Global, css } from '@emotion/core'
let timeout
const start = () => {
timeout = setTimeout(NProgress.start, 100)
}
@glenngijsberts
glenngijsberts / Bundle-Decodable.swift
Last active September 15, 2020 19:01
Interesting code snippet from Day 39 of #100DaysOfSwiftUI
//
// Bundle-Decodable.swift
// Moonshot
//
// Created by Glenn Gijsberts on 13/09/2020.
// Copyright © 2020 Glenn Gijsberts. All rights reserved.
//
import Foundation