Skip to content

Instantly share code, notes, and snippets.

Avatar

Federico Trimboli fedetrim

View GitHub Profile
@benasher44
benasher44 / Swift42Compatibility.swift
Last active Mar 3, 2019
Swift 4.2 Compatibility Shims
View Swift42Compatibility.swift
//
// Created by Ben Asher on 6/13/18.
// Copyright © 2018-present PlanGrid. All rights reserved.
//
import Foundation
import MapKit
import UserNotifications
#if swift(>=4.2)
@knowbody
knowbody / RNfontWeights.js
Created Jul 14, 2016
React Native Font Weight Cheatsheet iOS
View RNfontWeights.js
{ fontWeight: '100' }, // Thin
{ fontWeight: '200' }, // Ultra Light
{ fontWeight: '300' }, // Light
{ fontWeight: '400' }, // Regular
{ fontWeight: '500' }, // Medium
{ fontWeight: '600' }, // Semibold
{ fontWeight: '700' }, // Bold
{ fontWeight: '800' }, // Heavy
{ fontWeight: '900' }, // Black