Adding support to Swift and Xcode 6