Group Group Group Group Group Group Group Group Group

Demystifying Views in iOS · Nib Outlets | raywenderlich.com


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/4518-demystifying-views-in-ios/lessons/6

At lesson 6, I don’t understand how the CardSuperView choose the BackView as the primary view to show, why not FrontView showed first?

@jessycatterwaul @catie Can you please help with this when you get a chance? Thank you - much appreciated! :]

The Back covers up the front because both views are loaded with the nib, and the Back is the last element in the loaded array. You could move the Front to the end, by dragging in the document outline, resulting in this:

52%20PM

But in later videos, we just hide the Back view.