I am printing the reflected properties of a struct instance by looping over the "children" of the Mirror of the struct, and I am seeing something I didn't expect. For the "store1" and "store" constants of the "Bookmark" structure (see screenshot), I see that the reflected values are "MirrorTest.BookmarkStore" for both (on the console log). Now, the prefix "MirrorTest" is the name of my Xcode project. I was expecting the value of to be just "BookmarkStore", not sure why the Xcode project name is being prepended. Any thoughts?
thanks
Aucun commentaire:
Enregistrer un commentaire