Skip to content

Instantly share code, notes, and snippets.

View malhal's full-sized avatar

Malcolm Hall malhal

View GitHub Profile
@JunyuKuang
JunyuKuang / UIImage+NSToolbar.swift
Created October 22, 2019 03:07
[Mac Catalyst] a helper method that creates NSToolbar image with SF Symbol
//
// UIImage+NSToolbar.swift
// MobileReaderUI
//
// Created by Jonny Kuang on 10/12/19.
// Copyright © 2019 Junyu Kuang <lightscreen.app@gmail.com>. All rights reserved.
//
#if targetEnvironment(macCatalyst)
extension UIImage {