Reflection

suggest change

Versions

[{“Name”:“development began (first commit)”,“GroupName”:null}]

Syntax

Remarks

  1. General Remarks:

A Mirror is a struct used in the introspection of an object in Swift. Its most prominent property is the children array. One possible use case is to serialize a struct for Core Data. This is done by converting a struct into a NSManagedObject.

  1. Basic Usage for Mirror Remarks:

The children property of a Mirror is an array of child objects from the object the Mirror instance is reflecting. A child object has two properties label and value. For example a child might be a property with the name title and the value of Game of Thrones: A Song of Ice and Fire.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents