Skip to content

franciscoamado/Sortify

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

Sortify

Xcode Source Editor Extension for Sorting Lines

This was built as a prototype to test Xcode Extensions.

Installation

Build

Using Xcode 9+

  1. Download the source code.
  2. Open the Sortify.xcodeproj and run the SortifyExtension target, choosing Xcode as the host application.

This is a temporary installation as it will only work when running the project.

Zip

  1. Download the latest release Sortify.zip
  2. Open the Sortify.app, which will add the Extension to Xcode.
  3. (Optional) Move the Sortify.app to the Applications folder.

You can validate if the Extension is enabled in System Preferences >> Extensions

Usage

  1. Select the lines that will be sorted in the open file
  2. Xcode >> Editor >> Sortify >> Sort Selected Lines

Sortify in Xcode

Known issues

  • Simple text sorting
  • Text needs to be aligned to work properly

TODO

  • Maybe add import sorting

Acknowledgments

App Icon Arrow made by Dave Gandy is licensed by CC 3.0 BY

All the rest is free.

Contributing

Open an issue or a Pull Request. All help is appreciated.