xcode配置

/Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Resources/IDETextKeyBindingSet.plist 快捷键设置 删除当前行 <key>Delete Current Line</key> <string>deleteToBeginningOfLine:, moveToEndOfLine:, deleteToBeginningOfLine:, deleteBackward:, moveDown:, moveToBeginningOfLine:</string> 复制当前行 <key>Duplicate Current Line</key> <string>selectLine:, copy:, moveToEndOfLine:, insertNewline:, paste:, deleteBackward:</string>

IOS 开发琐碎

// 设置返回按钮的文字为空 navigationItem.backBarButtonItem = UIBarButtonItem(title: “”, style: UIBarButtonItemStyle.Plain, target: nil, action: nil) // 设置返回按钮图片 navigationController?.navigationBar.backIndicatorImage = UIImage(named: “ic_login”) navigationController?.navigationBar.backIndicatorTransitionMaskImage = UIImage(named: “ic_login”) // 设置导航标题文字大小及颜色 navigationController?.navigationBar.titleTextAttributes = [NSForegroundColorAttributeName: UIColor.redColor(),NSFontAttributeName: UIFont.systemFontOfSize(14)]