Skip to content
This repository has been archived by the owner on Jun 17, 2018. It is now read-only.

help tableview didselect delegate function #356

Open
aboutyu opened this issue Jun 15, 2017 · 1 comment
Open

help tableview didselect delegate function #356

aboutyu opened this issue Jun 15, 2017 · 1 comment

Comments

@aboutyu
Copy link

aboutyu commented Jun 15, 2017

Hi,
I am a beginer who get started 2 month ago

I'm made paging menu using PagingMenuController, but have one issue.
I made Navigationcontroller at first, import PagingController, and addSubView ViewController (using tableviewcontroller)

I need to go to the detailView when I touch on it, but I can not move it.
please help me.

func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
    let parentsView = ProductListViewController()      
    parentsView.moveDetailView(str: "https://m.naver.com")

}

<PagingMenuController view class (must move ProductDetailViewcontroller)>
func moveDetailView(str: String) {

    let sb = UIStoryboard(name: "Main", bundle: nil)        
    if let uvc = sb.instantiateViewController(withIdentifier: "ProductDetailViewController") as? ProductDetailViewController {           
        uvc.linkUrl = str
        self.navigationController?.pushViewController(uvc, animated: true)
    }
    
}
@aboutyu
Copy link
Author

aboutyu commented Jun 22, 2017

I clear this issue.
Have a nice day~

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant