[swift-users] Need a way to include swift file into another swift file
saagar at saagarjha.com
Mon Feb 27 11:57:26 CST 2017
Hmm, what are you trying to do? The generally accepted way of splitting code between files is through the use of extensions; is this not sufficient for your needs?
> On Feb 27, 2017, at 02:45, Rupendra Limbore via swift-users <swift-users 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-users mailing list
> swift-users at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-users