Creating constraints in Xcode can be confusing. So many things to keep in mind an Xcode is no help in some cases. Let's address this so that all the headaches with constraints are gone forever!
One of my biggest struggles with auto-layout was probably the fact that I didn’t know anything about all the different types of constraints there are. Do you have the same problem? Solution inside!
If someone would come up to you on the street and ask you what constraints are, what would you answer? A couple of months ago, I certainly had no clue. Let's fix that today.