Releases: chenhaiteng/Rings
Releases · chenhaiteng/Rings
0.5.1
[Note] Move some utilities into other modules.
- Move CGRect/CGPoint related function to CoreGraphicsExtension
- Extract
@Clamping
wrapper into SwiftClamping
0.5.0
What's new:
- New GaugeMeter control to show gauge in older platform.
- New RingsGaugeMeterStyle to support SwiftUI Gauge at iOS 16.0+, iPadOS 16.0+, macOS 13.0+, Mac Catalyst 16.0+, watchOS 7.0+, and visionOS 1.0+.
- New documentation build from DooC
0.4.0
What's Changed
- Update to 0.4.0 in #43
- Implement RingStack and ArcStack
- Bug fixed
Full Changelog: 0.3.2...0.4.0
Fix package resolve issues
- Package depends on unstable-version issue
- Markdown file not exclude issue.
Refactor
This release includes following refactor result:
AngularLayer (a.k.a KnobLayer in previous version)
- rename
- remove addLayer(:), use SequenceBuilder instead of.
- SequenceBuilder has limitation of numbers. It allows most 10 layers.
- Support for-loop and if-else condition for create layers.
- Implement property wrapper Clamping to limit max/min degrees to make code clear.
GradientBuilder
Import GradientBuilder to make color setup easier. Also add gradient color support on layers.
RingText
Add WordsBuilder to provide flexibility on it.
SphericText
Now, it supports different writing direction.
Other refactors
- Reorganize package structure. --> CommonExt --> Common
- Re-declare struct which has no property, and might be singleton to enum.
- Update and improve documents
Knob
Add Knob to Rings
Knob is a control to adjust value by single finger circular gesture.
It includes following parts:
- Knob
- KnobLayer -- provide rich and composable graphic
- KnobMapping -- define the relationship between value and rotation degree.
This first release provides basic layers: RingKnobLayer, ArcKnobLayer, and ImageKnobLayer.
Also provides two mappings: LinearMapping and SegmentMapping
v0.2.0 SphericText
Add SphericText to show text along 3D curve
Bug Fix: API version issue
Fix API version issue.
First Release
Provides following swiftUI components:
- RingText
- ClockIndex
- HandAiguille
- ArchimedeanSpiralText