All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- add privacy manifest PrivacyInfo.xcprivacy.
- add
tintColor
to SwiftUIRadioGroupPicker.init
. (thanks burrus!)
- add
selectedTintColor
. (thanks jaimejazarenoiii!)
- fix build errors when using Swift Package Manager in a non-SwiftUI app.
- add SwiftUI view modifiers for appearance properties.
- make SwiftUI frame correctly respond to
.fixedSize(horizontal: false, vertical: true)
.
- add SwiftUI wrapper
RadioGroupPicker
.
- calculate
intrinsicContentSize
to make the group work better with SwiftUIfixedSize()
.
- support Swift Package Manager.
- use
.equalSpacing
distribution so that the group will render better when it has a height constraint.
- use
NSAttributedString
in titles by settingattributedTitles
.
- allow horizontal layout by setting
radioGroup.isVertical = false
- MiniLayout moved to SweeterSwift.
- Swift 5, CocoaPods 1.7.
- UIAppearance support for
RadioButton
.
- UIAppearance support.
- multiline labels.
- fix layout warnings by adding
intrinsicContentSize
toRadioButton
.
- allow
titleColor
to be set beforetitles
.
- configurable
titleColor
andtitleFont
.
- accessibility.
- remove old titles when setting new ones.
- initial release.