Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should ignore PreviewProvider/*_Previews-structs #28

Open
Petter-W opened this issue Apr 29, 2021 · 0 comments · May be fixed by #31
Open

Should ignore PreviewProvider/*_Previews-structs #28

Petter-W opened this issue Apr 29, 2021 · 0 comments · May be fixed by #31

Comments

@Petter-W
Copy link

In SwiftUI you'll use files named something like OnboardingView_Previews using the PreviewProvider-protocol to create previews. Unused.rb reports them as unused, which is somewhat correct, but they are used by the developers to see what they're coding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant