CWRateKit
Create your own rate view controller for feedback from your customers.
If you like the project, please do not forget to star ★ this repository and follow me on GitHub.
Requirements
Swift 5.0
Ready for use on iOS 12+
Installation
CocoaPods:
CocoaPods is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate CWRateKit
into your Xcode project using CocoaPods, specify it in your Podfile
:
Swift Package Manager
The Swift Package Manager is a tool for managing the distribution of Swift code. It’s integrated with the Swift build system to automate the process of downloading, compiling, and linking dependencies.
To integrate CWRateKit
into your Xcode project using Xcode 11, specify it in File > Swift Packages > Add
:
Carthage
Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. To integrate CWRateKit
into your Xcode project using Carthage, specify it in your Cartfile
:
Manually
If you prefer not to use any of dependency managers, you can integrate CWRateKit
into your project manually. Put CWRateKit
folder in your Xcode project. Make sure to enable Copy items if needed
and Create groups
.
Quick Start
Usage
If you require deep customization, this section will show you what you can do.
Overlay
Popup
Close Button
Property showCloseButton
added circle button with dismiss action.
Haptic
Property hapticMoments allow add taptic feedback for some moments. Default is [.willChange, .willSubmit]
:
To disable haptics, set it to [.none]
Marks
Header Image
Submit Button
Success Text
Delegate
Set delegate for rateViewController
You can check events by implement CWRateKitViewControllerDelegate
Communication
- If you need help, use Stack Overflow. (Tag 'cwratekit')
- If you found a bug, open an issue.
- If you have a feature request, open an issue.
- If you want to contribute, submit a pull request.