Esqarrouth / EZSwiftExtensions

:smirk: How Swift standard types and classes were supposed to work.
MIT License
3k stars 381 forks source link

Minor refactoring of Dictionary extensions #414

Closed dfrib closed 7 years ago

dfrib commented 7 years ago

Minor refactoring of three dict extensions. I could omit the testAll(_:) refactoring, which now makes use of functional methods rather than explicit classic loops, but at the cost of using negative logic (in two senses), possibly worsening readability. Thoughts?

A related comment:

Swiftlint @ DictionaryExtensions OK (unchanged)

Checklist