Skip to content

The ultimate spinning wheel view that supports dynamic content and rich customization.

License

Notifications You must be signed in to change notification settings

sh-khashimov/SwiftFortuneWheel

Repository files navigation

SwiftFortuneWheel

CI Status Swift Version Version Support Platform Documentation

The ultimate spinning wheel control that supports dynamic content and rich customization.

Main Features
🏵 Dynamic content, supports texts, images, and lines
🎯 Adaptive text size with support multiline, alignment and line break mode
🎇 Supports background Image for each Slice (sector)
🧮 Supports vertical and horizontal text orientation
🌈 Appearance customization
🔊 Sounds and haptic feedback
🌋 Collision callbacks and effects
🎨 Drawn and animated using CoreGraphics, CoreAnimations
🔋 High performance, low memory usage

Layout Preview

Taken from example projects

Dynamic Content and Rotation Preview

Taken from example projects

Collision Effect Preview

Taken from example projects

Screenshots

from iOS Example Project

from macOS Example Project

from tvOS Example Project

Documentation

Installation

When you are ready to install, follow the Installation Guide.

API Documentation

You can find the docs here.

Documentation is generated with jazzy and hosted on GitHub-Pages.

Requirements

App name Swift Xcode Platforms
1.1.4 - current version Swift 5.x Xcode 14 iOS 9.0 / macOS 10.13 / tvOS 9.0
1.1.x - 1.4.3 Swift 5.0 Xcode 11 iOS 9.0 / macOS 10.11 / tvOS 9.0
0.x.x - 1.0.x Swift 5.0 Xcode 11 iOS 9.0

Migration

Changelog

See changelog here

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Author

Sherzod Khashimov

License

MIT