Ah, seems i’m wrong in my conclusions, methods and properties in those
extensions are marked as public, which makes them accessible from outside of
Foundation module.
Sorry for confusing.
Best regards,
Ludwig
> 26 сент. 2017 г., в 1:36, Людвиг Вальда Васкес via swift-users
> написал(а):
>
>
I’m not sure. As far as i know only extension which declare a protocol
conformance for a type will have same visibility as type they implement it for.
But if you simply extend a type, this extension will be internal by default.
Best regards,
Ludwig
> 26 сент. 2017 г., в 1:28, Jordan Rose напис
That's not how extensions in Swift work. All of those functions are definitely
available.
Barbara, can you post your source somewhere? And can you check that your Docker
image is actually new enough, using `swift --version`? (The Swift project
doesn't publish an official Docker image, so unless
Interesting, those extensions aren't public for some reason which prevents
their usage from outside of Foundation module. I’m curious if that was
intentional due to unfinished work or something or they just forgot to export
them.
Best regards,
Ludwig
> 25 сент. 2017 г., в 16:40, Barbara Reicha