Swift 2 contains no Swift-specific method for generating a sitemap - instead it relies on DynamicWeb 10's built-in sitemap generation feature.
If you're not happy with how the built-in sitemap generator performs, you can always implement your own sitemap using e.g. a custom sitemap-page type and the NavigationTreeViewModel.