adding swift doc