Skip to content
/ XEBox Public

A collection of Xcode source editor extensions for swift coding

Notifications You must be signed in to change notification settings

robin/XEBox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XEBox - an Xcode source editor extension toolbox

Platform Swift 3 License Twitter

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

Turn to NSLocalizedString

Type a quoted string and turn it into the form of: NSLocalizedString(“string”, comment:”string”)

Turn to optional binding

This one turns an “let” assignment into an optional binding.

Move up into braces

This one moves the selected codes up into the nearest braces.

Import for me

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.

How to use

  1. Download the code
  2. Open the project in Xcode 8.0 or later.
  3. Resolve the code sign issues
  4. Build and run.
  5. You may need to enable the extension from  -> System Preferences -> Extensions -> Xcode Source Editor
  6. You will find the command in the Editor Menu.

Author

Lu Yibin

License

LYTabView is available under the MIT license. See the LICENSE file for more info.

About

A collection of Xcode source editor extensions for swift coding

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages