<div>Hi,<br></div><div><br></div><div>I am beginning with Swift 4 (coming from the Java world) but I do not have yet a Swift development environment to experiment with. Therefore my question(s) might sound a bit silly. Unfortunately, I haven't been able to answer them by reading the online Language Guide.<br></div><div><br></div><div>1) What makes a submodule? I can see online examples about how to import them, but not how to create one or any other further details about them. Are they like Java packages inside a jar? Do their hierarchical name (<b>prefix1.prefix2. ... .submodulename</b>) reflect a path tree on the filesystem (/<b>prefix1/prefix2. ... /submodulename</b>), just as it happens with Java packages?<br></div><div>2) Can two different submodules within a single module export two different classes under a single class name? Like<b> module.submodule1.MyType</b> and <b>module.submodule2.myType</b>.<br></div><div><br></div><div>Thanks in advance.<br></div><div><br></div><div>David<br></div><div><br></div>