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
| for f in *.png; do mv "$f" "${f/ReplaceThisText/WithThisText}"; done |
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 | |
| enum KVOManagerNotificationType: String { | |
| case StickerBought = "com.mojilala.Stickers.Keyboard.StickerBought" | |
| } | |
| class KVOManager: NSObject { | |
| static let sharedManager = KVOManager() | |
| func addObserver( |
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
| // MARK: - Manager | |
| class SaveManager { | |
| // MARK: Singleton | |
| private static let instance = SaveManager() | |
| class func sharedInstance () -> SaveManager { |
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/UIKit.h> | |
| typedef void(^tapAction)(UITapGestureRecognizer *tap); | |
| @interface BlockTapView : UIView | |
| @property (copy) tapAction blockTapAction; | |
| - (instancetype)initWithFrame:(CGRect)frame andAction:(tapAction)action; |
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
| override class func drawRect( | |
| bounds: CGRect, | |
| withParameters parameters: NSObjectProtocol!, | |
| isCancelled isCancelledBlock: asdisplaynode_iscancelled_block_t!, | |
| isRasterizing: Bool) { | |
| let context = UIGraphicsGetCurrentContext() | |
| CGContextSaveGState(context) | |
| CGContextSetShadowWithColor(context, CGSize (width: 0, height: 1), 10, UIColor.TitleColor().CGColor) |
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
| @IBOutlet var mapView: MKMapView! | |
| func setupMapBlur () { | |
| var blur: UIView! | |
| if ios8() { | |
| blur = UIVisualEffectView (effect: UIBlurEffect (style: UIBlurEffectStyle.Light)) | |
| } else { | |
| blur = FXBlurView (frame: view.frame) | |
| } | |
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
| [](https://travis-ci.org/facebook/AsyncDisplayKit) | |
| [](http://cocoapods.org/?q=AsyncDisplayKit) | |
| []() |
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
| let filtered = filter (dataSource) { $0.rangeOfString(searchText) != nil } |