An OSX framework with custom NSControl using Swift