All Projects → hemangshah → Feelings

hemangshah / Feelings

Licence: mit
Another rating view to share your feelings. 🎭

Programming Languages

swift
15916 projects

Labels

Projects that are alternatives of or similar to Feelings

rating
⭐ A true Bayesian rating system with scope and cache enabled
Stars: ✭ 49 (+122.73%)
Mutual labels:  rating
Ttgemojirate
An emoji-liked rating view for iOS, implemented in Swift3.
Stars: ✭ 284 (+1190.91%)
Mutual labels:  rating
Andratingbar
A RatingBar library for android, you can customize size ,color ,spacing and image easily!Support right to left。效果可以参看:https://juejin.im/post/6844904143220391949
Stars: ✭ 582 (+2545.45%)
Mutual labels:  rating
GoAIRatings
Estimate Go AI ratings by real games
Stars: ✭ 118 (+436.36%)
Mutual labels:  rating
goodreads-toolbox
9 tools for Goodreads.com, for finding people based on the books they’ve read, finding books popular among the people you follow, following new book reviews, etc
Stars: ✭ 56 (+154.55%)
Mutual labels:  rating
Rateyo
A simple and flexible star rating plugin, v2 docs -
Stars: ✭ 342 (+1454.55%)
Mutual labels:  rating
ColorRatingBar
change color of star in rating bar
Stars: ✭ 23 (+4.55%)
Mutual labels:  rating
Laravel Love
Add Social Reactions to Laravel Eloquent Models. It lets people express how they feel about the content. Fully customizable Weighted Reaction System & Reaction Type System with Like, Dislike and any other custom emotion types. Do you react?
Stars: ✭ 822 (+3636.36%)
Mutual labels:  rating
solidus reviews
Product review/rating functionality for your Solidus store.
Stars: ✭ 17 (-22.73%)
Mutual labels:  rating
Countly Sdk Ios
Countly Product Analytics iOS SDK with macOS, watchOS and tvOS support.
Stars: ✭ 585 (+2559.09%)
Mutual labels:  rating
react-star-ratings
A customizable svg star rating component for selecting x stars or visualizing x stars
Stars: ✭ 128 (+481.82%)
Mutual labels:  rating
SuperBadge
🚀 📛 SuperBadge Android Library 🔥
Stars: ✭ 34 (+54.55%)
Mutual labels:  rating
React Native Store Review
Rate on App/Play Store directly in your React Native app
Stars: ✭ 437 (+1886.36%)
Mutual labels:  rating
youtube-preview
An extension for previewing YouTube video on its thumbnail when hovering.
Stars: ✭ 61 (+177.27%)
Mutual labels:  rating
Smart App Rate
An Android library that encourages users to rate the app on the Google Play.
Stars: ✭ 609 (+2668.18%)
Mutual labels:  rating
devrating
A tool that suggests minimal PR size for contributors
Stars: ✭ 19 (-13.64%)
Mutual labels:  rating
Jstarcraft Rns
专注于解决推荐领域与搜索领域的两个核心问题:排序预测(Ranking)和评分预测(Rating). 为相关领域的研发人员提供完整的通用设计与参考实现. 涵盖了70多种排序预测与评分预测算法,是最快最全的Java推荐与搜索引擎.
Stars: ✭ 324 (+1372.73%)
Mutual labels:  rating
Rating Stars
⭐️⭐️⭐️⭐️⭐️ A 5-star rating widget implemented in JS and CSS
Stars: ✭ 18 (-18.18%)
Mutual labels:  rating
React Native Star Rating
A React Native component for generating and displaying interactive star ratings
Stars: ✭ 724 (+3190.91%)
Mutual labels:  rating
Android Ratethisapp
Android library to show "Rate this app" dialog
Stars: ✭ 553 (+2413.64%)
Mutual labels:  rating

Feelings 🎭

Another rating view to share your feelings.

Build Status License Platform Swift 3.x MadeWithLove Awesome-Swift

Installation

IMPORTANT: You will need two images, one is filled and another is unfilled to represents feelings. See this sample images for the same, check it here.

1.Manually - Add FeelingsView.swift class to your Project. All set.

2.CocoaPods: pod 'FeelingsView'

Usage:

Create Programmatically.

//Create Sample Arrays
let rows = ["Quality","Price","Value"]
let columns = ["1 Star","2 Star","3 Star","4 Star","5 Star"]
        
//Create FeelingsView
//Note: You should provide two images for FeelingsView. 1. Filled and 2. Unfilled        
let viewFeeling = FeelingsView.init(frame: CGRect.init(x: 0.0, y: 0.0, width: 300.0, height: 200.0))
viewFeeling.backgroundColor = UIColor.clear
viewFeeling.autoresizingMask = [.flexibleLeftMargin, .flexibleRightMargin, .flexibleTopMargin, .flexibleBottomMargin]
self.view.addSubview(viewFeeling)
viewFeeling.center = self.view.center
    
//Setting fill/unfill images for FeelingsView
viewFeeling.fillImage = UIImage.init(named: "filled.png")!
viewFeeling.unfillImage = UIImage.init(named: "unfilled.png")!
        
//Setting up values for Feelings
viewFeeling.columnTitles = columns
viewFeeling.rowTitles = rows 
    
//Reload
viewFeeling.reloadFeelingView()
        
//Detect selection of Feelings value
viewFeeling.onFilledCompletion = { (row,column) in
    //Note: row and column are the Int which a user tapped in the FeelingsView
    let rowValue = rows[row]
    let columnValue = columns[column]
    print("\(rowValue) -> \(columnValue)")
}

IMPORTANT: For customizations see the example.

Create in Storyboard/XIB.

  1. Add a UIView. Set require size. Add constraints if requires.

  2. Change class type from UIView to FeelingsView.

  1. Apply the properties for FeelingsView.
  1. Create an IBOutlet for FeelingsView. Bind it in IBInspector.

  2. In viewDidLoad or at anyplace where you want provide rows and columns titles.

  3. Reload FeelingsView by calling reloadFeelingView function.

  4. Detect the taps on FeelingsView by implementing onFilledCompletion closure block.

ToDo[s]

  • [x] CocoaPods support

You can watch to Feelings to see continuous updates. Stay tuned.

Have an idea for improvements of this class? Please open an issue.    

Credits

Hemang Shah

You can shoot me an email to contact.

License

The MIT License (MIT)

Read the LICENSE file for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].