indragiek / DominantColor

Finding dominant colors of an image using k-means clustering
MIT License
960 stars 93 forks source link

Convert to latest Swift #28

Closed russ-stamant closed 8 years ago

indragiek commented 8 years ago

Looks good, just one comment to address. Thank you!

russ-stamant commented 8 years ago

Thanks for the catch :) I found no reason there for the map replacement. Map can be used here. I fixed this and also added one fix for Swift 3 which is related to this https://github.com/apple/swift-evolution/blob/master/proposals/0004-remove-pre-post-inc-decrement.md

indragiek commented 8 years ago

👍 Thank you very much!