UPGRADE YOUR SKILLS: Learn advanced Swift and SwiftUI on Hacking with Swift+! >>

SOLVED: Project 10 Basic layout failing

Forums > 100 Days of Swift

Hello, can't seem to figure out what I'm doing wrong - I've created the PersonCell class, linked it to storyboard, but when I build for the first time as per tutorial, my cells are too small and the label is not visible.. I've started form scratch 3 times and get the same result.

It seems like the are some differences between 5.1 and 5.2, notably that there's no manual option for the assistant editor, and that there is a new Content view in the View Collection scene...

Any help gratefully received - feel somehwat stuck!

Col

5      

Did you try setting Estimated Size in Interface Builder to None? You can find it when you select collection view in storyboard and then go to Size inspector

16      

Glad it worked :-) I think this is more of a annoying bug than a feature because this used to work fine prior to Xcode 11.3 (I think).

4      

Thank youuuuuu soooo much I've been stuck for 2 days @nemecek-filip

3      

OMG, you're lifesaver :)) I just hate Interface Builder so much. It is automactic so much but so annoying!

3      

Hacking with Swift is sponsored by RevenueCat

SPONSORED Take the pain out of configuring and testing your paywalls. RevenueCat's Paywalls allow you to remotely configure your entire paywall view without any code changes or app updates.

Learn more here

Sponsor Hacking with Swift and reach the world's largest Swift community!

Archived topic

This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.

All interactions here are governed by our code of conduct.

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.