Hacker News new | ask | show | jobs
by olgagalchenko 4398 days ago
>> Still have no idea how to make things private, public, or protected. In Objective-C you could hide internal details away in the .m file. In Swift, everything is exposed by default.

I think it just hasn't been released yet. It's part of the Known Issues section of Xcode 6 release notes[0].

[0] http://adcdownload.apple.com//wwdc_2014/xcode_6_beta_ie8g3n/...

1 comments

I asked a Swift engineer named Greg about this yesterday at a Swift lab at WWDC -- he said that it is forthcoming, but gave no estimates or timelines. Exception handling, however, doesn't seem to be on the roadmap.
Count me in the "happy to not have exceptions" camp.
I asked an engineer too, and he said exception handling was planned. So that's that :)