ParallaxCell

public class ParallaxCell: UITableViewCell

UITableViewCell with parallax background

  • Custom separator view

    Declaration

    Swift

    public var separatorView: UIView?
  • parallax offset

    Declaration

    Swift

    @IBInspectable public var difference: CGFloat = 100 // image parallax
  • The foreground view’s background color.

    Declaration

    Swift

    @IBInspectable public var foregroundColor = UIColor.blackColor()
  • The foreground view’s alpha.

    Declaration

    Swift

    @IBInspectable public var foregroundAlpha: CGFloat = 0.5
  • Initializes a view from data in a given unarchiver.

    Declaration

    Swift

    public required init?(coder aDecoder: NSCoder)

    Parameters

    aDecoder

    An unarchiver object.

    Return Value

    An initialized UITableViewCell object.

  • Sets the contents of the background image and title label

    Declaration

    Swift

    public func setImage(image: UIImage, title: String)

    Parameters

    image

    The image object which set to the backgroundImageView

    title

    The text to be displayed in the Cell