Step into Swift logo

What is the difference between Any and AnyObject?

Any vs AnyObject

Any vs Any Object

Any:

Any type at all including function and optional types.

AnyObject:

An instance of ANY CLASS.


< All Posts