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.
 
 
 
 

37 lines
899 B

//
// PayoutTableViewCell.swift
// GMERemittance
//
// Created by Fm-user on 2/7/18.
// Copyright © 2018 Gobal Money Express Co. Ltd. All rights reserved.
//
import UIKit
class PayoutTableViewCell: UITableViewCell {
@IBOutlet weak var labelPayoutName: UILabel!
@IBOutlet weak var labelPayoutAddress: UILabel!
@IBOutlet weak var buttonPhone: UIButton!
override func awakeFromNib() {
super.awakeFromNib()
// Initialization code
}
@IBAction func initiateCall(_ sender: UIButton) {
guard let number = URL(string: "tel://" + sender.title(for: .normal)!) else {
return
}
UIApplication.shared.openURL(number)
}
override func setSelected(_ selected: Bool, animated: Bool) {
super.setSelected(selected, animated: animated)
// Configure the view for the selected state
}
}