I would like to write a iOS app using pure Swift v4.2 using Xcode 10 and relying ONLY on Swift standard library and Cocoa APIs exposed as Swift APIs. Is this possible in year 2018 or we may need to wait few more years?
I read the latest Swift 4.2 reference book from Apple and understood most of the language. But realized after reading that in order to write iOS app using Cocoa API, one also need to understand how the Objective-C API works and it's runtime behavior as well than simply use the translated/bridged Swift API.
I feel like I wasted my time learning Swift by falling for the hype. I wish had spent the time learning Objective-C so I could have easily written the iOS app using just Objective-C.
I came across the book "Using Swift with Cocoa and Objective-C" from Apple and it is from 2014 . It told a very convoluted way of writing the swift iOS app to be able to interact with Cocoa API with all those annotations to facilitate Objective-C integration.
Is there any latest official documentation to integrate with Cocoa API using Just Swift? Not able to find one document that explains this than plethora of articles/videos.
Or Am I better off abandon swift at this time and learn and go with Objective -C only when building iOS app?
It seems Swift not ready for prime time in the context of writing pure iOS apps without some reliance on Objectve-C before year 2020 at least.
Please correct me if my above conclusions are incorrect.
Note : I have solid background in Java programming and related web back end. But due to a requirement, we are writing an iOS app using pure swift and was quickly disillusioned with swift. On hindsight, wish I had spent my time learning Objective-C than swift at this time. Not sure..