4 ms·
>Swift `Mirror` doesn't require unsafe code and is not a hidden implementation detail. Actually part of the code is C++, so that would be in the unsafe side.
by coldtea 8y ago
>Swift `Mirror` doesn't require unsafe code and is not a hidden implementation detail.
Actually part of the code is C++, so that would be in the unsafe side.
Also they explicitly say that the internals of Mirror are all based on implementation details that might change.
- nielsbot 8y agoBut that's not visible to the clients of `Mirror` API. Inside Swift `Mirror` is just another high-level API.