XEBox is a collection of Xcode source editor extensions I made for swift coding, which including:
- Turn to NSLocalizedString
- Move up into braces
- Turn to optional binding
- Import for me
Type a quoted string and turn it into the form of: NSLocalizedString(“string”, comment:”string”)
This one turns an “let” assignment into an optional binding.
This one moves the selected codes up into the nearest braces.
Type 'import #module#' or just even the module name in a new line and launch the extension, the module will be automatically imported to the head of file and leave you at where you are.
- Download the code
- Open the project in Xcode 8.0 or later.
- Resolve the code sign issues
- Build and run.
- You may need to enable the extension from -> System Preferences -> Extensions -> Xcode Source Editor
- You will find the command in the Editor Menu.
LYTabView is available under the MIT license. See the LICENSE file for more info.