I am new to swift and i am using swift version 2.2.

I want to send an email using swift mime. For this, I have go through this link

<http://swiftmailer.org/docs/messages.html>

But I can not use `require_once 'lib/swift_required.php'` in my swift code. 

How can I use this in my osx swift project?