4 ms·
What do you mean? Swift `Mirror` doesn't require unsafe code and is not a hidden implementation detail.
by nielsbot 8y ago
What do you mean? Swift `Mirror` doesn't require unsafe code and is not a hidden implementation detail.
- sedatk 8y agoThat’s what the article says: > Everything here is an internal implementation detail.
- tinus_hn 8y agoThe way it works is an implementation detail, the fact that it does is not.
- 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.