Home About Notes

Type introspection in swift

Jan 09, 2023

Something I had to do more in my Objective-C days and rarely in swift is type introspections. It's super simple but I use it so rarely I forget.

type(of: yourObject)