Implementation of Mirror not affected by CustomReflectable.
Normal Mirror may not correctly yield property information if the object conforms to CustomReflectable.
For example, the following structure returns empty children.
struct Item: CustomReflectable {
let title: String
let value: Int
var customMirror: Mirror {
.init(self, children: [])
}
}I created MagicMirror so that information can be obtained correctly in such cases!
Simply replace MagicMirror in place of regular Mirror.
MagicMirror is released under the MIT License. See LICENSE