Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Build a Vending Machine App in Swift 2.0 Displaying Additional Views Controlling Custom Views

Why does Xcode report this (benign) issue: "Frame for "Dismiss" will be run at a different time" for Main.storyboard"

My app runs fine, and when I add $5, the modal DepositController view comes up, but Xcode still complains that there is an issue:

"Frame for "Dismiss" will be run at a different time" for Main.storyboard"

It seems to relate somehow to the layout of the frame for the control button, for which trailing, leading and bottom space have auto layout constraints set to zero (per the exercise), as verified in the View inspector. I see however that the selected from for the Dismiss button in the Main.storyboard viewer show "20" instead and the View inspector says that leading and trailing space are set to the super view.

I'm not sure how to resolve this, but it's annoying me that I can't seem to figure out how to resolve it.

Any help is appreciated.

Thanks, Brian