Publish Swift class inheritance