Nowadays, modern projects supporting Swift is comparable, if not exceeds in numbers of projects that support Objective-C.
Swift by most indicators seem to be the future for mobile i OS development so you can’t go wrong getting a head start in learning if you haven’t already.
Especially in the earlier stages when your backend’s schema is more volatile and you’ll probably end up wasting a lot of time having to do a lot of pesky migrations.
It helps me handle a lot of the boiler plate such as setting up your mailer, adding a user object and enabling it to work with Devise / Omniauth, setting up user roles, etc.It got a lot of positive feedback on Reddit and I received many questions on /r/learnprogramming about our tech stack and process so I figured I’d write a short blog post about it here.i OS: Swift Backend: Ruby on Rails Database: Postgres Platform: Heroku Domain Register: Namecheap (Disclosure: affiliate link)At its core, the i OS app is pretty barebones. The question that’s always asked in an i OS project is whether to write it in Swift or Objective-C.If you were to ask me about a year ago, I’d lean more towards Objective-C as many 3rd party frameworks on Github were just getting started.Alternatively, if you were more used to interpreted languages like Java Script, Ruby or Python, then Swift may be more up your alley.When programming, so much time is wasted rewriting the same functionality that has existed before.The reason why it needs to be asynchronous is due to the time it may take to download and upload a photo from Facebook, the entire HTTP request can take 10 seconds which otherwise would clog up your ability to serve other HTTP requests.As mentioned, we used Sidekiq, but others swear by Resque.My philosophy when it comes to mobile app development is: Why reinvent the wheel when you can just install it via Cocoa Pods?For those that are initiated, Cocoa Pods is a dependency manager for i OS.Luckily, if you’re on Rails, it comes already packaged with a JSON serializer and if you’re using Alamo Fire (which is my preferred HTTP library for Swift), it also comes equipped with a JSON to Swift object deserializer as well.If you’re on Objective-C, the ASIHTTP library also handles JSON serialization for you.