Skip to content

Instantly share code, notes, and snippets.

View ekscrypto's full-sized avatar

Dave Poirier ekscrypto

View GitHub Profile
@stevencurtis
stevencurtis / String.StringInterpolation.swift
Last active January 19, 2022 20:58
String.StringInterpolation
extension String.StringInterpolation {
mutating func appendInterpolation(currency value: Int) {
let formatter = NumberFormatter()
formatter.numberStyle = .currency
formatter.currencyCode = "GBP"
if let result = formatter.string(from: value as NSNumber) {
appendLiteral(result)
}
}
@mackuba
mackuba / wwdc15.md
Last active August 6, 2022 17:28
New stuff from WWDC 2015

Here's my own list of the interesting stuff announced during this year's WWDC, collected from the keynotes, various Apple docs, blog posts and tweets.

If you're planning to watch the videos, I really recommend this Mac app that helps you download and watch them: https://github.com/insidegui/WWDC.

OS X El Capitan

http://www.apple.com/osx/elcapitan-preview/

  • split view - two apps side by side on full screen