raguay.customct Posted September 16, 2014 Share Posted September 16, 2014 (edited) 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 October 28, 2014 by raguay.customct Link to comment
raguay.customct Posted September 17, 2014 Author Share Posted September 17, 2014 The tutorial on this workflow is now available: https://computers.tutsplus.com/tutorials/alfred-workflows-in-swift--cms-21807 The compiling instructions inside the workflow are more accurate now with the latest versions. dfay 1 Link to comment
dfay Posted September 18, 2014 Share Posted September 18, 2014 Hmmm...finding someone who didn't install Xcode 6 to start playing with Swift back in June may be a challenge on this board Link to comment
raguay.customct Posted October 28, 2014 Author Share Posted October 28, 2014 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now