Skip to content

Conversation

@JetForMe
Copy link

Without this, there's no way for client code in an Xcode project to name something Vehicle, which a client is likely to do. This is because the module TeslaSwift contains a class TeslaSwift, and client code can’t reference TeslaSwift.Vehicle. An alternative would be to nest Vehicle inside TeslaSwift.

Without this, there's no way for client code in an Xcode project to name something `Vehicle`, which a client is likely to do.
@JetForMe
Copy link
Author

JetForMe commented Mar 12, 2024

Added missing public modifier.

@jonasman
Copy link
Owner

Does this really help?

@JetForMe
Copy link
Author

Yes. It's a common problem in Swift

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants