[quote=133465:@Koua Lo]Go learn swift. With your skill level, Sam, you will learn it less than a day. I promise. It is stupidly easy compared to Objective-C. Learning the framework and the ins/outs of Xcode… that is the harder part. But overall, still simple once you see the pattern. On top of that, packaging and sending things off to the App Store is literally 2 or 3 clicks and you are done. No need to fight with certificates, code signing, retina preparations, etc. Xcode handles all of that for you. So many resources available too. Cocoacontrols, swifttoolbox, cocoapods, heck, even GitHub.
You will be glad you did. Finally, everything is free (except for your annual $99 dev fee).[/quote]
Indeed Swift is really simply compared to Objective-C and it may be the direction I go in the future, especially as I’ve heard it mentioned several times now that eventually Obj-C will be replaced by Swift. A great deal of things are certainly easier when using Swift, and it would save me time for quite a few projects, I am toying with re-starting the HDRtist Pro update in Swift.
However like all things, there are some things that are easier in Xojo. For instance when Swift was first announced I tried to create a simple application in it, however when I wanted to EncodeHEX or create a MD5 checksum, I couldn’t figure it out. After 4 days of discussing with others in the ADF, it seemed like the only way was to create a Objective-C class, add in some special code, then you either had to compile it or do something else ‘magical’ before you could them import it into Swift. At which point I felt like, yes Swift is easier, but also just as restrictive as Xojo. Now had I written the test application in Objective-C, I could have done it all in Objective-C and be done with it!
I then wrote the sample application in Xojo in about 10 mins flat, and it worked perfectly on first run. I’ll take another look at Swift, before I consider re-starting our HDR application.
The other thing I didn’t like about Swift, is the need for support libraries to be bundled with your application if you want to ship it on 10.9, it’s always one thing I’ve appreciated about Objective-C, is that you can write fully functional applications, that take less then a MB.
However; back to your point and yes NSSharingServices is available to Swift, whereas it’s no longer available to Xojo.