Coder Social home page Coder Social logo

chenhaiteng / rings Goto Github PK

View Code? Open in Web Editor NEW
31.0 3.0 2.0 41.36 MB

Rings provides some UI with the Ring, Circle or other similar shapes.

License: MIT License

Swift 100.00%
swiftui swiftui-framework curved-text clockview circle rich-text knob-control knob xcode swift-packages

rings's Introduction

Icon

Rings GitHub GitHub release (latest by date)

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


License

Rings is released under the MIT License.

rings's People

Contributors

chenhaiteng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

soltrinox annyfun

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.