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 UIKit | |
public func draw(size: CGSize, drawBlock: (CGContext) -> ()) -> UIImage? { | |
UIGraphicsBeginImageContextWithOptions(size, true, 0.0) | |
defer { | |
UIGraphicsEndImageContext() | |
} | |
guard let context = UIGraphicsGetCurrentContext() else { | |
return nil |
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
// | |
// Created by azu on 2013/06/09. | |
// License MIT | |
#import <Foundation/Foundation.h> | |
#import "KWMatcher.h" | |
typedef NS_ENUM(NSUInteger, KWDateInequalityType){ | |
KWDateInequalityTypeEqualToDateIgnoringTime,// ≒ |