Latest0.1.0
Homepagehttps://github.com/recruit-lifestyle/RippleCell
LicenseMIT
Platformsios 8.0, requires ARC
Authors

Cocoapods Compatible

Swift subclass of the UITableViewCell.

Screenshot

RippleCell

Requirements

  • iOS 8.0+
  • Xcode 6.1
  • CocoaPods 0.38.2

Installation

To integrate RippleCell into your Xcode project using CocoaPods, specify it in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!

pod 'RippleCell'

Then, run the following command:

$ pod install

Usage

There is a need to set up your own color targetColor and targetBGcolor property of the cell.
The targetColor will change to ripple like from touched point in the cell.

  1. Create a new UITableViewCell in your storyboard or nib.

  2. Set the class of the UITableViewCell to RippleCell in your Storyboard or nib.

  3. Set targetColor and targetBGcolor for the cell.

  4. Set showDuration property programmatically if You want to change animation duration.

Example

func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
    let cell = tableView.dequeueReusableCellWithIdentifier("MyCell", forIndexPath: indexPath) as! RippleCell
    cell.selectedBackgroundView = UIView()
    cell.selectedBackgroundView.backgroundColor = UIColor.clearColor()
    cell.textLabel!.text = " Touch Me "
    return cell
}

Credits

RippleCell is owned and maintained by RECRUIT LIFESTYLE CO., LTD.

RippleCell was originally created by Narimasa Iwabuchi

License

Copyright 2015 RECRUIT LIFESTYLE CO., LTD.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Latest podspec

{
    "name": "RippleCell",
    "version": "0.1.0",
    "summary": "Swift subclass of the UITableViewCell.",
    "description": "* show ripple effects on you tapped.n* swift subclass of the UITableViewCell.",
    "homepage": "https://github.com/recruit-lifestyle/RippleCell",
    "license": "MIT",
    "authors": {
        "NariFrow": "[email protected]"
    },
    "source": {
        "git": "https://github.com/recruit-lifestyle/RippleCell.git",
        "tag": "0.1.0"
    },
    "social_media_url": "https://twitter.com/Fye_design",
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*.swift",
    "resource_bundles": {
        "RippleCell": [
            "Pod/Assets/*.png"
        ]
    }
}

Pin It on Pinterest

Share This