updating documentation on using from Swift