Skip to content

Instantly share code, notes, and snippets.

@rosylxf
rosylxf / TextViewHighlighter.m
Created December 4, 2016 17:58 — forked from onmyway133/TextViewHighlighter.m
TextViewHighlighter
// SO [UITextView - Highlight text with NSBackgroundColor - exclude line breaks](http://stackoverflow.com/questions/26558396/uitextview-text-highlighting-when-the-text-is-centered)
// Source
// TextViewHighlighter.h
#import <Foundation/Foundation.h>
@import UIKit;
@interface TextViewHighlighter : NSObject
/*
File: UIImage+ImageEffects.h
Abstract: This is a category of UIImage that adds methods to apply blur and tint effects to an image. This is the code you’ll want to look out to find out how to use vImage to efficiently calculate a blur.
Version: 1.0
Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple
Inc. ("Apple") in consideration of your agreement to the following
terms, and your use, installation, modification or redistribution of
this Apple software constitutes acceptance of these terms. If you do
not agree with these terms, please do not use, install, modify or
@rosylxf
rosylxf / todo.md
Created July 11, 2016 10:42
Things todo

go home

eat

@interface UIImage (fixOrientation)
- (UIImage *)fixOrientation;
@end