[swift-users] Module System

Severen Redwood severen.redwood at gmail.com
Fri Dec 4 22:54:41 CST 2015


How does the module system actually work in Swift? From what I've seen so
far it seems to be pretty tied in with XCode and tools like the package
manager.

I come from languages like Rust where modules either map to files or to
folders with a `mod.rs` file inside. I can also define modules inside of
source files with the `mod` keyword.

>From what I've seen the way modules work in Swift is not very flexible.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20151205/ac0056b8/attachment.html>


More information about the swift-users mailing list