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
| // I borrowed pieces of this from the generics implementations in FaceBook's Bolts Framework and the Parse SDK | |
| @import Foundation; | |
| @class GRGCollectionItemTypeClass<__covariant CodableCollectionItem:NSObject<NSCopying,NSSecureCoding> *>; | |
| @interface GRGCollectionClass<__covariant CodableCollectionItem:NSObject<NSCopying,NSSecureCoding> *> : NSObject<NSFastEnumeration> | |
| typedef BOOL(^GRGNextCollectionItemBlock)(GRGCollectionItemTypeClass<CodableCollectionItem> *nextItem); |
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
| #import <Foundation/Foundation.h> | |
| @interface NSPersonNameComponents(Sort) | |
| - (NSComparisonResult)compare:(NSPersonNameComponents *)other; | |
| - (NSComparisonResult)compare:(NSPersonNameComponents *)other options:(NSStringCompareOptions)mask; | |
| @end |
OlderNewer