This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//: Playground - noun: a place where people can play | |
import UIKit | |
class MockDataSource: NSObject, UICollectionViewDataSource { | |
let collectionView: UICollectionView | |
var numItems: Int | |
init(numItems: Int, collectionViewFrameSize: CGSize) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// RegExp.swift | |
// | |
// Created by Alun Bestor on 18/11/14. | |
// Copyright (c) 2014 Alun Bestor. All rights reserved. | |
// | |
import Foundation | |
/// Alias to make `NSRegularExpression` less odious to type. |