/SwiftFortuneWheel

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

Primary LanguageSwiftMIT LicenseMIT

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