All notable changes to this project will be documented in this file.
- property
reversePercentage
andthumbLabelFormatter
added toColorSliderControl
and propertyreverseBrightnessPercentage
added toDefaultColorPickerViewController
to allow for more control over thumb label (slider percentage). - new row added to demo demonstrating use of
reverseBrightnessPercentage
withDefaultColorPickerViewController
Issue #29: Is it me or is does brightness work backwards?
Issue #27 that prevented compilation of 1.4.1 when installed via SPM.
WARNING: Do not use this realese. It does not compile when istaled via SPM. Use 1.4.2 instead.
Cocoapods pod file version
- complete support for iOS dark mode
- Breaking change: removed method
setDefaultBorder(on:)
from classesColorSliderControl
andColorPreviewWithHex
. Instead of overriding that method, propertyborderOn
should be set tofalse
and custom border should be installed directly to appropriate views . - Breaking change: visibility of property
borderOn
from in classRadialPaletteControl
was changed fromopen
topublic
. Instead of overriding this property, clients should set it tofalse
and install custom border directly on appropriate views.
- issue #25: iOS 13 dark mode support
ColorPickerDelegate
functions were made optional to allow for more flexibility (now only one of them can be used)- updated README
- issue #26: Swift 5.2 complaint
Package.swift
to fix SPM support
- renamed
autoDaken
property ofColorPickerThumbView
toautoDarken
(typo fix) - improved documentation
- hidden
RestrictedPanCircleView
from clients (and renamed it toLimitedGestureCircleView
) as it is implementation detail. - added minimum platform to
Package.swift
and explicit imports ofUIKit
where missing trying to fix SPM issues
- deprecated
PaletteAwareScrollView
as it is not needed any more. Supplied color controls and custom color controls subclassingAbstractColorControl
will now work insideUIScrollView
and iOS 13 modally presented controllers out of box.
- memory leak introduced in 1.3 where color controls would not be released
- support for Swift Package Manager
- updated to Swift 5
- modal presentation dismiss gesture conflict for iOS 13
- issue #10: Warning under Xcode 11.0 - Setter argument 'newValue' was never used, but the property was accessed
- README updated
- Code warnings in XCode 10.1
- some missing documentation
- project updated Swift version 4.2
- Bug #3: Error when run it in xcode 10.1 caused by duplicated .plist