SortingMatters 4+

Sort Selected Lines on Xcode

Roger Oba

    • USD 1.99

Screenshots

Description

As the author of SortingMatters, I'm a little biased to describe it. I've honestly been using this tool for over 5 years and whenever I factory reset my mac I can't survive a single day without it. But now that I have to come up with a description for this app, I had to ask myself: what are all those use cases anyway?!

• Sorting imports. Definitely, especially if you use SwiftLint in your workspace with the sorted_imports rule enabled. Oh, and did I mention it works with both Objective-C and Swift?
• Sorting enum cases. Sometimes enum cases don't have to be in a specific semantic order, so, instead, I'd much rather have them sorted alphabetically. This can be even neater if you sort the switch cases as well - yes, you can do that with this app. Just declare your switch case statement, select all the lines and let this Xcode Extension do its magic.
• Sort user-facing copy. Maybe you have a list of strings and you'd like them sorted. Yup, no more confused users.
• Sorting dependencies (such as in your Package.swift, Gemfile or Podfile). Keep them all tidy!
• Reduce merge conflicts. You and your colleagues might be constantly editing the same lists, and managing sorted lists reduces the changes of having merge conflicts significantly.
• Organizing constants and variables: When you have a long list of constants or variables in your code, sorting them alphabetically can make it easier to find and manage them.
• Maintaining localized strings: For apps with multiple languages, sorting localized strings files can help ensure all translations are present and consistent across different languages.

There are probably tens of other use cases, but those are the ones I remember from the top of my head. These minor improvements end up saving your precious time by a lot, over time.

This app comes with support and lifetime updates for free - after all, I use this extension everyday and won't let it go rotten, trust me.

What’s New

Version 1.0.1

Fixed app icon using AppIconResizer macOS app.

App Privacy

The developer, Roger Oba, indicated that the app’s privacy practices may include handling of data as described below. For more information, see the developer’s privacy policy.

Data Not Collected

The developer does not collect any data from this app.

Privacy practices may vary based on, for example, the features you use or your age. Learn More

Supports

  • Family Sharing

    Up to six family members can use this app with Family Sharing enabled.

More By This Developer