Apple hopes to get developers to contribute to Apple App development through this move.
Along with the open source launch,Apple has already published a Swift port for Linux computers.
Apple says the port is a work in progress but useful to experiment with Swift on a Linux machine.
The Swift Package Manager is also available to build code whilepackage repositories are available on GitHub.
source: www.techworm.net