My apologies if I missed this information, but my searches came out empty
on both these topics:
1. is there a recommended project organization/structure? (most of the
languages I’m familiar with have either a recommended or even impose a
specific project structure).
2. The Swift grammar mentions imports, but I couldn’t find any reference on
how do declare packages or modules or any high level namespace groupings
that the language supports (if any)
Well, indeed it looks like I’ve missed some important parts of the docs:
1. firstly it’s the doc for the Package manager which gives a brief intro
to modules/packages/targets/dependencies
2. then there’s the Using the Build section ( Swift.org - Getting Started) which touches on
the topics of source organization (basically it mentions a Sources
directory and the main.swift files)
:- alex
···
On Sat, Feb 6, 2016 at 8:44 PM, alex <themindstorm@gmail.com> wrote:
Hi,
My apologies if I missed this information, but my searches came out empty
on both these topics:
1. is there a recommended project organization/structure? (most of the
languages I’m familiar with have either a recommended or even impose a
specific project structure).
2. The Swift grammar mentions imports, but I couldn’t find any reference
on how do declare packages or modules or any high level namespace groupings
that the language supports (if any)