Skip to content

Releases: chenhaiteng/Rings

0.5.1

07 Mar 07:59
ee8eb1b
Compare
Choose a tag to compare

[Note] Move some utilities into other modules.

  1. Move CGRect/CGPoint related function to CoreGraphicsExtension
  2. Extract @Clamping wrapper into SwiftClamping

0.5.0

19 Feb 10:28
bfea622
Compare
Choose a tag to compare

What's new:

  1. New GaugeMeter control to show gauge in older platform.
  2. 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+.
  3. New documentation build from DooC

0.4.0

24 Jan 09:00
Compare
Choose a tag to compare

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

01 Jan 15:17
cfada3c
Compare
Choose a tag to compare
  1. Package depends on unstable-version issue
  2. Markdown file not exclude issue.

Refactor

26 Aug 09:51
b477f64
Compare
Choose a tag to compare

This release includes following refactor result:

AngularLayer (a.k.a KnobLayer in previous version)

  1. rename
  2. remove addLayer(:), use SequenceBuilder instead of.
    1. SequenceBuilder has limitation of numbers. It allows most 10 layers.
    2. Support for-loop and if-else condition for create layers.
  3. 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

  1. Reorganize package structure. --> CommonExt --> Common
  2. Re-declare struct which has no property, and might be singleton to enum.
  3. Update and improve documents

Knob

29 May 10:15
5cc526c
Compare
Choose a tag to compare

Add Knob to Rings

Knob is a control to adjust value by single finger circular gesture.
It includes following parts:

  1. Knob
  2. KnobLayer -- provide rich and composable graphic
  3. 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

19 May 09:08
Compare
Choose a tag to compare

Add SphericText to show text along 3D curve

Bug Fix: API version issue

14 May 05:11
cf03f72
Compare
Choose a tag to compare

Fix API version issue.

First Release

13 May 09:15
1d5894e
Compare
Choose a tag to compare

Provides following swiftUI components:

  1. RingText
  2. ClockIndex
  3. HandAiguille
  4. ArchimedeanSpiralText