Skip to content

Instantly share code, notes, and snippets.

Chris Carr carrchr

  • Michigan Labs
  • Grand Rapids, Michigan
Block or report user

Report or block carrchr

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
carrchr / Example.swift
Created May 31, 2016 — forked from brentdax/Example.swift
Elegant handling of localizable strings in Swift.
View Example.swift
let color = "blue"
let num = 42
localized("Colorless green ideas sleep furiously.")
localized("Colorless \(color) ideas sleep furiously.")
localized("\(num.formatted("%05d")) colorless green ideas sleep furiously.")
You can’t perform that action at this time.