Yes. The way you share Swift code between multiple goals in a project is no different than how you use ObjC code.
For an example, see the new Lister application code example in the developer library . This project creates an OS X application and an iOS application, and for each platform it creates an application, a Notification Center Today View extension, and an integrated infrastructure that supports both.
source
share