https://github.com/eonist/swift-utils/commit/d631b9c5401692ec9518be2d2fcd10bafb93a1b2#diff-5c6af8db916751978b35427cb86d3c2b