Jump to content

Text Case Converter in Swift


Recommended Posts

This workflow is a replication of my "tm:select" command of the Text Massager Workflow done in Swift. You have to have xCode 6 beta 4 to recompile the executable, but it should run on any system that is OS Maverick and up. Instructions for recompiling the Alfred Swift Library and the program is in the workflow directory. The one command is "tc:convert". The string given will be shown in capital case, upper case, lower case, and title case.

 

I would appreciate feedback if someone would run this on a system that has never had xCode 6 installed. I suspect a dynamic link library issue, but I am not sure. There is not much documentation on static linking of Swift code, so I am blazing a new trail. 

 

GitHub: https://github.com/raguay/MyAlfred

Packal: http://www.packal.org/workflow/text-case-converter-swift

Edited by raguay.customct
Link to comment
  • 1 month later...

Okay, just updated the code and the Alfred Library to use the latest version of Swift in Xcode Version 6.1 (6A1052d). You can download from Packal or GitHub. Let me know if you have any issues.

 

Notice: Swift is no longer runnable on OS X 10.9! Therefore, this is only a OS X 10.10 workflow. Sorry, complain to Apple!

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...