wickwirew / Runtime

A Swift Runtime library for viewing type info, and the dynamic getting and setting of properties.
MIT License
1.08k stars 94 forks source link

Avoid importing Foundation if unavailable or unused #67

Closed MaxDesiatov closed 4 years ago

MaxDesiatov commented 4 years ago

I'm currently trying to build Runtime for WebAssembly where the Foundation module is not available. Fortunately, Runtime doesn't use Foundation much, and the only place where it is used can be easily excluded.

wickwirew commented 4 years ago

Looks good, thanks!