logoalt Hacker News

viktorcodeyesterday at 7:23 AM1 replyview on HN

> Then came Swift and I loved it, but then it took literal years to catch up with everything you could do in Objective-C with the Apple APIs.

I don't get this part. You can literally rewrite Obj-C code verbatim in Swift and it will work. The only missing part is C macros.


Replies

Razenganyesterday at 9:58 AM

> You can literally rewrite Obj-C code verbatim in Swift and it will work.

It took a while to get there. They didn't have native Swift APIs for some things like URIs etc until later.