I have taken collection view in tableview cell now when I click the collection view cell it will go to the next view controller,is it possible? I have tried did select item method in that how to use perform segue method
相关问题
- How to give an imageView in swift3.0.1 shadow at t
- Swift 3: How to reverse a transparent Navigation B
- iOS Share Extension flow
- Facebook login in Swift 3
- How to display a ViewController when answering a c
相关文章
- Swift Change the tableviewcell border color accord
- Cocoapods : target has transitive dependencies tha
- Error Domain=kAFAssistantErrorDomain Code=209 “(nu
- UIImagePickerController delegate not called Swift
- Simple service in Swift, persists, foreground only
- iOS swift NSMutableData has no member appendString
- Conforming to Hashable protocol?
- Code Signature Invalid
I am showing u example
This ViewController contain Tableview datasource n delegates. Its cell of type DemoTableViewCell showing below
Again DemoTableViewCell contain datasouce and delegate of collection view as showing above Also didSelectItemAt contains performSegue, which is using parent refrence for Segue.
Now in collection view cell, there is 1 variable named parentVC, U have to set this value in cellForRowatIndexpath defined in ViewController class like that
and final make a segue from collectionViewCell on storyboard to YourController