2 ms·
Most Swift code is divided nicely up into modules, which are compiled together and have their own namespace. https://developer.apple.com/library/content/documen
by kainosnoema 9y ago
Most Swift code is divided nicely up into modules, which are compiled together and have their own namespace. https://developer.apple.com/library/content/documentation/Swift/Conceptual/Swift_Programming_Language/AccessControl.html#//apple_ref/doc/uid/TP40014097-CH41-ID4 https://developer.apple.com/library/content/documentation/Sw...
- thefounder 9y agoFor some reasons most of the swift code I've seen doesn't use any namespace/prefix when it calls various functions from different "modules". It's used just like C "include"
- plorkyeran 9y agoYou only have to qualify what module something is from if it would otherwise be ambiguous.