The Big Nerd Ranch Swift - End of chapter 25

less than 1 minute read

Summary

  • conform Equatable &
    • Comparable inherits from Equatable. So you don’t need to declare conformance to Equatable if you declares conformance to Comparable
  • brief Custom Operator
    • You don’t want to try to use this frequently. Find better way.

source code

Leave a comment