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

Empty Count Violation for NSArray #1976

Closed
ppluskota opened this issue Dec 20, 2017 · 1 comment
Closed

Empty Count Violation for NSArray #1976

ppluskota opened this issue Dec 20, 2017 · 1 comment
Labels
duplicate Issues that already exist in other terms.

Comments

@ppluskota
Copy link

ppluskota commented Dec 20, 2017

NSArray doesn't have isEmpty method so I tried to use count > 0 but swiftlint show the empty count violation error and suggest to use isEmpty method

@marcelofabri
Copy link
Collaborator

Duplicate of #827.

@marcelofabri marcelofabri added the duplicate Issues that already exist in other terms. label Dec 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Issues that already exist in other terms.
Projects
None yet
Development

No branches or pull requests

2 participants