i
/I
光标前插入 / 光标所在行首插入
a
/A
光标后插入 / 光标所在行尾插入
o
/O
光标后插入新行 / 光标前插入新行
s
/S
删除光标字符 / 删除光标所在行
[IQKeyboardManager sharedManager].shouldShowTextFieldPlaceholder = NO; //是否显示输入提示 | |
[IQKeyboardManager sharedManager].keyboardDistanceFromTextField = 20.0; //键盘间距 | |
[IQKeyboardManager sharedManager].overrideKeyboardAppearance = YES; //是否覆盖键盘样式 | |
[IQKeyboardManager sharedManager].keyboardAppearance = UIKeyboardAppearanceDefault;//键盘样式 | |
[IQKeyboardManager sharedManager].toolbarManageBehaviour = IQAutoToolbarByPosition; //根据位置上下切换第一响应者 | |
[IQKeyboardManager sharedManager].shouldToolbarUsesTextFieldTintColor = YES; //toolbar按文本框tintColor渲染 |
// | |
// Copyright (c) 2012-2015 Cédric Luthi / @0xced. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> | |
#if TARGET_OS_SIMULATOR | |
static const char *fakeCarrier; | |
static const char *fakeTime; |
" VIM SETTINGS <( | |
" 搜索忽略大小写 | |
set ignorecase | |
" 高亮搜索 | |
set hlsearch | |
" 显示行号和列号 | |
set ruler | |
" 不显示状态行 | |
" set laststatus=0 |
//: [Previous](@previous) | |
//http://blog.callmewhy.com/2015/05/11/functional-reactive-programming-1/ | |
//http://blog.callmewhy.com/2015/09/21/rxswift-getting-started-0/ | |
//http://blog.callmewhy.com/2015/09/23/rxswift-getting-started-1/ | |
import RxSwift | |
let disposeBag = DisposeBag() |
extension Formatter { | |
static let number = NumberFormatter() | |
} | |
extension FloatingPoint { | |
func fractionDigits(min: Int = 2, max: Int = 2, roundingMode: NumberFormatter.RoundingMode = .down) -> String { | |
Formatter.number.minimumFractionDigits = min | |
Formatter.number.maximumFractionDigits = max | |
Formatter.number.roundingMode = roundingMode | |
Formatter.number.numberStyle = .decimal |
{
"rabbets": ["0.100-0.300", "0.301-0.500"]
}
class SomeObject: HandyJSON {
<?xml version="1.0" encoding="UTF-8"?> | |
<Bucket | |
type = "2" | |
version = "2.0"> | |
<Breakpoints> | |
<BreakpointProxy | |
BreakpointExtensionID = "Xcode.Breakpoint.SymbolicBreakpoint"> | |
<BreakpointContent | |
shouldBeEnabled = "No" | |
ignoreCount = "0" |