[swift-server-dev] Need a way to include swift file into another swift file
moiseev at apple.com
Mon Feb 27 12:12:34 CST 2017
You should be able to simply pass multiple source files to the Swift compiler and get a single compiled output.
> On Feb 27, 2017, at 2:45 AM, Rupendra Limbore via swift-server-dev <swift-server-dev at swift.org> wrote:
> Hi All,
> I am using swift as a CGI script with Apache server (just to explore). I need to split my code into different files so as to make it more manageable. Is there any way I can include one swift file into another, like we can do in PHP with “include_once”?
> Best Regards,
> Rupendra Limbore
> swift-server-dev mailing list
> swift-server-dev at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-server-dev