Skip to content

Instantly share code, notes, and snippets.

View mviitanen's full-sized avatar

Marko Viitanen mviitanen

  • Salt Lake City, UT
View GitHub Profile
@frozzare
frozzare / array.swift
Created June 8, 2014 18:43
Example how to extend array type in Swift
import Foundation
extension Array {
/**
* Get first item in array.
*
* @return First item in array.
*/