Skip to content

Instantly share code, notes, and snippets.

View leyvaje's full-sized avatar

J. Enrique Leyva leyvaje

View GitHub Profile
@leyvaje
leyvaje / FontNames-iOS12.swift
Created September 1, 2020 14:56 — forked from tadija/FontNames-iOS-17.4.swift
iOS - All Font Names
/*
*** Academy Engraved LET ***
AcademyEngravedLetPlain
---------------------
*** Al Nile ***
AlNile
AlNile-Bold
---------------------
*** American Typewriter ***
AmericanTypewriter
@leyvaje
leyvaje / appcoda-closures-tutorial.swift
Created September 13, 2016 13:20
Practicing closures - Tutorial from AppCoda
/*
Tutorial on closures
https://medium.com/swift-programming/swift-closures-everyday-gems-part-2-of-2-8607157b11c5#.6058wlrgk
*/
let formattedPerson = { () -> (String, String) in
return ("Jose", "Leyva")
}
func createFormattedGreeting(subject:() -> (String, String)) -> String {