This file contains hidden or 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
import Cocoa | |
class CSVDoubleSequence: SequenceType { | |
typealias GeneratorType = IndexingGenerator<Array<Double>> | |
let path: String | |
let values: [Double] | |
init(path: String) { | |
self.path = path | |
This file contains hidden or 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
// | |
// PRHAngleGradientFilter.h | |
// | |
// Created by Peter Hosey on 2013-01-30. | |
// Copyright (c) 2013 Peter Hosey. All rights reserved. | |
// | |
#import <QuartzCore/QuartzCore.h> | |
@interface PRHAngleGradientFilter : CIFilter |
This file contains hidden or 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
import Foundation | |
// MARK: - Comparable | |
extension NSDecimalNumber: Comparable {} | |
public func ==(lhs: NSDecimalNumber, rhs: NSDecimalNumber) -> Bool { | |
return lhs.compare(rhs) == .OrderedSame | |
} |
This file contains hidden or 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
// | |
// TBSplitViewController.h | |
// | |
// Created by Tyler Bunnell on 8/4/12 | |
// Released under the have fun with this and make cool stuff license. | |
// | |
#import <UIKit/UIKit.h> | |
@interface TBSplitViewController : UISplitViewController |