04: Bridging with Objective-C - podcast episode cover

04: Bridging with Objective-C

Mar 27, 201740 minEp. 5
--:--
--:--
Listen in podcast apps:
Metacast
Spotify
Youtube
RSS
Download Metacast podcast app
Listen to this episode in Metacast mobile app
Don't just listen to podcasts. Learn from them with transcripts, summaries, and chapters for every episode. Skim, search, and bookmark insights. Learn more

Episode description

Swift has evolved since 1.x to have a fluctuating amount of magic/implicit bridging from ObjC and Foundation types, sometimes going in the opposite direction towards very explicit type conversions.

We've started seeing more of what the "steady state" looks like as Swift 3.x/4.x development matures.

In the early days, Swift users would need deep compiler internal implementation details to know which NSNumber-representable type could implicitly convert. As of SE-0139 that's a lot clearer.

The subtleties of unenforced protocol conformance semantics: https://oleb.net/blog/2016/12/protocols-have-semantics/

Proposals on bridging
For the best experience, listen in Metacast app for iOS or Android
Open in Metacast
04: Bridging with Objective-C | Swift Unwrapped podcast - Listen or read transcript on Metacast