You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
690 B
27 lines
690 B
//
|
|
// RewardCollectionViewCell.swift
|
|
// GMERemittance
|
|
//
|
|
// Created by Sujal on 3/14/18.
|
|
// Copyright © 2018 Gobal Money Express Co. Ltd. All rights reserved.
|
|
//
|
|
|
|
import UIKit
|
|
|
|
protocol RedeemRewardDelegate: class {
|
|
func redeemReward(_ sender: RewardCollectionViewCell)
|
|
}
|
|
|
|
class RewardCollectionViewCell: UICollectionViewCell {
|
|
|
|
@IBOutlet weak var buttonRedeem: UIButton!
|
|
@IBOutlet weak var imageViewReward: UIImageView!
|
|
@IBOutlet weak var labelRewardName: UILabel!
|
|
@IBOutlet weak var labelRewardPoint: UILabel!
|
|
|
|
weak var delegate: RedeemRewardDelegate?
|
|
|
|
@IBAction func redeemReward(_ sender: Any) {
|
|
delegate?.redeemReward(self)
|
|
}
|
|
}
|