Creating Segues in Code | raywenderlich.com


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/5429927-collection-views/lessons/26

When selecting the StoryboardID in the inspector for TutorialDetailViewController, it was not mentioned to select the checkbox ‘Use Storyboard ID’. If trying to run without having this selected the app crashes since it can’t find that StoryBoard ID. After checking this box the app works.

As I added in the end the video titles and headers I’m a little confused on the difference between UICollectionViewLayout and UICollectionViewCompositionLayout. In the Library Controller when we configured the Collection View Layou your returned a view of UICollectionViewCompositionLayout and in the final version you returned a view of UICollectionViewLayout…As I tried to use CompositionLayout for the return in the TutorialDetailVC it didn’t work until I used just UICollectionViewLayout. Can you help me with the difference? I’m a little confused. Thanks