Rings, Arcstack, Clock, Knob, GaugeMeter
  • July 7, 2025

Rings


Rings is a collection of controls which have similar shapes of ring, circle…

It includes following controls, click to see what it looks like:

For more detail please refer to the documentation


Installation:


Rings is published with Swift Package Manager, you can get more information at Swift Package Manager(GitHub)Package Manager(swift.org), and Swift Packages(Apple)

Install Rings Step by Step

 

– Add to Xcode(To use this package in your application):

 

  1. File > Swift Packages > Add Package Dependency…
  2. Choose Project you want to add Rings
  3. Paste repository https://github.com/chenhaiteng/Rings.git
  4. Rules > Version: Up to Next Major 0.4.0 It’s can also apply Rules > Branch : main to access latest code. If you want try some experimental features, you can also apply Rules > Branch : develop

Note: It might need to link Rings to your target maunally.

  1. Open Project Editor by tap on root of project navigator
  2. Choose the target you want to use Rings.
  3. Choose Build Phases, and expand Link Binary With Libraries
  4. Tap on + button, and choose Rings to add it.

– Add to SPM package(To use this package in your library/framework):

 

dependencies: [
.package(name: “Rings”, url: “https://github.com/chenhaiteng/Rings.git”, from: “0.4.0”)
// To specify branch, use following statement to instead of.
// .package(name: “Rings”, url: “https://github.com/chenhaiteng/Rings.git”, .branch(“branch_name”))
],
targets: [
.target(
name: “MyPackage”,
dependencies: [“Rings”]),
]

RingStack


Demo

 

ArcStack


 

Demo

RingText


 

RingDemo

ClockIndex


 

Demo

HandAiguille


 

Demo

ArchimedeanSpiralText


 

Demo

SphericText


 

Demo

Knob


 

Demo

GaugeMeter


 

Demo

RingGaugeMeterStyle


 

Demo

GitHub


View Github

#chart #graph
YOU MIGHT ALSO LIKE...
FigmaPreviewSwiftUI

A Figma component preview for your SwiftUI views. You can use Figma components instead of real views within your app ...

SafePreviewDevice

Motivation At WWDC 2019, Apple announced SwiftUI a new library for building UI in a simple and fast way. Xcode’s ...

PreviewView

Make use of SwiftUI previews for rapidly prototyping your UIViewControllers and UIViews! The SwiftUI preview canvas is tied to a specific version of ...

PreviewDevice

Requirements   Dev environment: Xcode 13+, macOS 12+ iOS 13.0+, macOS 10.15+, Mac Catalyst 13.0+, tvOS 13.0+, watchOS 6.0+ Usage

SwiftUIWheelPicker

Horizontal wheel picker for SwiftUI Requirements iOS 13.0+ Installation CocoaPods