Fresh Swift
  • About
  • Tags
Fresh Swift

#reflection


Reflection and Mirror in Swift

In this post, Vadim Bulavin looks the the Reflective capabilities of Swift. Vadim first describes what Reflection is, before showing us what we can achieve using Swift’s Mirror type.

Posted on March 26, 2018

#reflection  #mirror 

Reflectable Enums

What does an enum see when it looks in the Mirror? Josh Smiths demonstrates using Swift's Reflection API when working with enums cases which have associated values of varying types.

Posted on April 17, 2017

#reflection  #enum 

 •  2021  •  Fresh Swift

Hugo v0.82.0 powered  •  Theme by Beautiful Jekyll adapted to Beautiful Hugo