yamoridon / ColorThiefSwift

Grabs the dominant color or a representative color palette from an image. A Swift port of Sven Woltmann's Java implementation.
MIT License
233 stars 31 forks source link

tvOS support #4

Closed jcarroll-mediafly closed 7 years ago

jcarroll-mediafly commented 7 years ago

Hey there, I was wondering if there are plans to open up the podspec to include tvOS as well?

yamoridon commented 7 years ago

Hi jcarroll,

Though I have not tested at all because I don't have Apple TV, I made a branch and just added one line to podspec for supporting tvOS. Could you try tvos branch?

Thank you, Kazuki

jcarroll-mediafly commented 7 years ago

Thanks, will test it out!

jcarroll-mediafly commented 7 years ago

works for me!

yamoridon commented 7 years ago

Great!

jcarroll-mediafly commented 7 years ago

Thanks again for the quick turnaround. Can't wait to see cocoapods master updated.

For anyone else who needs tvOS support you can do so by

pod 'ColorThiefSwift', :git => 'https://github.com/orchely/ColorThiefSwift.git'

yamoridon commented 7 years ago

Though I haven't tested by myself, I merged to master.