Macs in Chemistry

Insanely Great Science

Objective-C id as Swift Any


The latest update on the Swift Blog describes one of the important changes in Swift 3.

In Swift 3, the id type in Objective-C now maps to the Any type in Swift, which describes a value of any type, whether a class, enum, struct, or any other Swift type.

blog comments powered by Disqus