Skip to content

If you want to put rating in your application and you bored from using stars, this repo will help you.

License

Notifications You must be signed in to change notification settings

Abdulameer-Abbas-Albayaty/Emoji-Rate

Repository files navigation

Em-Rate

If you want to put rating in your application and you bored from using stars, this repo will help you.

Requirement

  • Swift 4.2
  • Xcode 10

Introduction

We used to use stars in rating anythings ,so for break the chain i tried to make a simple reusable application.

How to install Em-Rate

  • Go to EmojiRate folder and add the files to your project.
  • Impelment RateDelegate protocol.
  • Define valriable from EmojiRateView
var emRate:EmojiRateView!
  • In viewDidLoad() add this code :
emRate = self.addRateView()
  • For showing the EmojiRateView use:
emRate.showView()
  • Finally you get the value of rating from impelmented function:
func Rate(value: Int) {
     // here write your code
     print(value)
}

About

If you want to put rating in your application and you bored from using stars, this repo will help you.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages