Posts

Showing posts with the label popviewcontroller

how to call popviewcontroller in UITableViewCell

how to call popviewcontroller in UITableViewCell The current structure is firstViewController -> pushViewController(SecondViewController) -UIViewController ->filename : secondViewController -UITableView -UITableViewCell (custom cell) ->filename : secondTableViewCell -UICollectionView -UICollectionViewCell (custom cell) ->filename : secondCollectionViewCell When 'didSelectItemAt' is done in the 'UICollectionView' I would like to call the 'popviewcontroller' from UIViewController. And I want to pass the data on the selected item to firstViewController. but i don't know how ** ViewController ** struct cellStat{ var opened = Bool() var title = String() var sectionData = [ItemModel]() } //선물 카테고리 리스트 보여주는 모달 class GiftCategoryModalVC: UIViewController { @IBOutlet weak var tableView: UITableView! private var categoryTitleModels: [ItemModel] = private var giftItemModels: [Item...