I'm using Snapkit in my iOS project.
View -> ScrollView -> Tableview
I tried view.addSubview(scrollView) scrollView.addSubview(tableView)
I tried setting a bunch of constraints on the tableview but it never shows up on the scrollview. Whereas if I add it to the view (view.addSubview(tableView) ) then it shows up correctly.