Simple swift color picker popover (iOS)

前端 未结 8 1165
被撕碎了的回忆
被撕碎了的回忆 2020-12-12 13:30

Is there is a simple way to implement a color picker popover in swift? Are there any built-in libraries or UI elements that I could leverage for this purpose? I saw some c

8条回答
  •  独厮守ぢ
    2020-12-12 13:36

    Thanks for the starting point.

    I took it from there and wrote a complte Color PickerViewController with a custom UIView and some drawing code.

    I made the custom UIView @IBDesignable so it can be rendered in InterfaceBuilder.

    https://github.com/Christian1313/iOS_Swift_ColorPicker

提交回复
热议问题