All Projects → hemangshah → Clapsview

hemangshah / Clapsview

Licence: mit
Implemented the functionality of Medium.com Claps. 👏

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Clapsview

Splarkcontroller
Custom transition between controllers. Settings controller for your iOS app.
Stars: ✭ 693 (+2289.66%)
Mutual labels:  custom
Dante2
A complete rewrite of dante editor in draft-js
Stars: ✭ 890 (+2968.97%)
Mutual labels:  medium
Multisearchview
Yet another built-in animated search view for Android.
Stars: ✭ 837 (+2786.21%)
Mutual labels:  custom
Reading Time
📚 Medium's like reading time estimation.
Stars: ✭ 746 (+2472.41%)
Mutual labels:  medium
Zfplayer
Support customization of any player SDK and control layer(支持定制任何播放器SDK和控制层)
Stars: ✭ 6,694 (+22982.76%)
Mutual labels:  custom
Aiflatswitch
Nicely animated flat design switch alternative to UISwitch
Stars: ✭ 904 (+3017.24%)
Mutual labels:  custom
Wmzdialog
功能最多样式最多的弹窗,支持普通/微信底部/日期/地区/日历/选择/编辑/分享/菜单/自定义弹窗等,支持多种动画,链式编程调用(Pop-up windows with the most functions and styles, support normal/WeChat bottom/date/region/calendar/select/edit/share/menu/custom pop-up windows, etc., support multiple animations, chain programming calls)
Stars: ✭ 673 (+2220.69%)
Mutual labels:  custom
Xamcustomlayouts
Xamarin.Forms Custom Layouts - Cards
Stars: ✭ 15 (-48.28%)
Mutual labels:  custom
Mini Media Player
Minimalistic media card for Home Assistant Lovelace UI
Stars: ✭ 827 (+2751.72%)
Mutual labels:  custom
Stormplane
✈️《沙漠风暴》是一款基于Android开发的纵版飞行射击游戏,以雷电(Shooting Game)为原型,参考微信打飞机大战,通过自定义的SurfaceView来实现游戏,游戏画面、音乐、战斗特效都不错(附带apk安装包,可直接运行)
Stars: ✭ 938 (+3134.48%)
Mutual labels:  custom
Cardpresentationcontroller
Custom UIPresentationController which mimics the behavior of Apple Music UI
Stars: ✭ 778 (+2582.76%)
Mutual labels:  custom
Share This
Medium-like text selection sharing without dependencies
Stars: ✭ 787 (+2613.79%)
Mutual labels:  medium
Image Zoom
🔎 Medium.com style image zoom for React 🔍
Stars: ✭ 920 (+3072.41%)
Mutual labels:  medium
Django Admin Interface
django's default admin interface made customizable. popup windows replaced by modals. :mage: ⚡️
Stars: ✭ 717 (+2372.41%)
Mutual labels:  custom
Angular Builders
Angular build facade extensions (Jest and custom webpack configuration)
Stars: ✭ 843 (+2806.9%)
Mutual labels:  custom
Stories
Medium clone built with Ruby on Rails
Stars: ✭ 688 (+2272.41%)
Mutual labels:  medium
Nuxt Project
Example Nuxt.JS project from my tutorial series on medium [Indonesian language 🇮🇩]
Stars: ✭ 17 (-41.38%)
Mutual labels:  medium
Medium Article
Repo for articles in my personal blog and Medium
Stars: ✭ 28 (-3.45%)
Mutual labels:  medium
Mylittlecanvas
🎨Need to create a custom view ? You don't know how to use Canvas, use MyLittleCanvas instead !
Stars: ✭ 870 (+2900%)
Mutual labels:  custom
Git Praise
A nicer git blame.
Stars: ✭ 24 (-17.24%)
Mutual labels:  custom

ClapsView 👏

Implemented the functionality of Medium.com Claps.

License Platform Swift 4.x MadeWithLove Awesome-Swift

  1. Screenshots
  2. Features
  3. Installation
  4. Usage Guide
  5. Setup
  6. Usage
  7. ToDos
  8. Credits
  9. Thanks
  10. License

Screenshots

Usage Usage
Usage

Features

  1. Create Programmatically or in Storyboard.
  2. Dynamic Property Configurations.
  3. Replica of Medium.com's Claps.
  4. Lightweight with zero dependancies.

Installation

  1. Storyboard – Add a UIView and change the class in Identity Inspector to ClapsView.
  2. Manually – Add ClapsView.swift file to your Project.
  3. CocoaPodspod 'ClapsView'

You can read the CHANGELOG file for a particular release.

Usage Guide

  • Long Press – To start clapping. 👏
  • Double Tap - To remove current claps.
  • Single Tap - To see current Claps.

Setup

import ClapsView

Usage

let claps = ClapsView.init(frame: CGRect.init(origin: CGPoint.zero, size: CGSize.init(width: 100.0, height: 100.0)))
claps.delegate = self
//Customize Emoji.
claps.emoji = "👏"
//The number of claps by all of the user.
claps.totalClaps = 30
//The maximum number of claps a user can do.
claps.maxClaps = 50
//If set true, 1000 claps will be display as 1k
claps.showClapsAbbreviated = true
self.view.addSubview(claps)
claps.center = self.view.center

//Implementing Delegate Call
extension ViewController: ClapsViewDelegate {
    func clapsViewStateChanged(clapsView: ClapsView, state: ClapsViewStates, totalClaps: Int, currentClaps: Int) {
        if state == .finalized {
            print("ClapsViewTag: \(clapsView.tag) | Total Claps:\(totalClaps) | Current Claps:\(currentClaps)")
        }
    }
}

ToDo[s]

  • [x] CocoaPods Support

You can watch to ClapsView 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.  

Thank You!!

See the contributions for details.

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].