Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (23 sloc) 648 Bytes
//
// DetailViewController.swift
// UITableViewWithImage
//
// Created by Bhuman Soni on 30/9/18.
// Copyright © 2018 Bhuman Soni. All rights reserved.
import UIKit
class DetailViewController: UIViewController {
var rowData: TableData?
//MARK: IBOutlet
@IBOutlet var nameLbl: UILabel!
@IBOutlet var rowImage: UIImageView!
override func viewDidLoad() {
super.viewDidLoad()
if let rd = rowData {
nameLbl.text = rd.name
rowImage.image = rd.getRowImage()
}
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
}
}
You can’t perform that action at this time.