Ramotion / preview-transition

:octocat: PreviewTransition is a simple preview gallery UI controller with animated tranisitions. Swift UI library made by @Ramotion

Home Page:https://www.ramotion.com/preview-transition/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't show DetailViewController on didSelectRowAt

ElyDantas opened this issue · comments

fatalError("current cell is empty or add navigationController")

Couldn't find a way around after some good time searching in the Xcode example project and digging in stackoverflow, i appreciate any help.

Please take a look the example

    public override func tableView(_: UITableView, didSelectRowAt _: IndexPath) {
        let storyboard = UIStoryboard.storyboard(storyboard: .Main)
        let detaleViewController: DemoDetailViewController = storyboard.instantiateViewController()
        pushViewController(detaleViewController)
    }