Swift developers coming from Apple’s iOS and OS X environments are use to using the Cocoa and Cocoa Touch frameworks however these frameworks are not available in the Linux environment. When we develop Linux applications and utilities with Swift we need to use the system libraries provided by the Linux environment. In this post will look at how we can use these system libraries with our Swift code to build useful applications and utilities.
In this post we will look at the Glibc module that Apple provides for us which includes the majority of the Linux Standard Library. We will also look at how we could create our own modules to add additional system libraries not included in the Glibc module. To demonstrate the concepts discussed we will conclude this post by building a simple command line utility that will list the IP addresses of the device that it is run on.
Jon
--
You received this message because you are subscribed to the Google Groups "Swift Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swift-languag...@googlegroups.com.
To post to this group, send email to swift-l...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/swift-language/8ca8ba8f-98e8-41d6-9c87-8c070f11da23%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.