This project demonstrates how to use Cocoa auto layout to keep a “middle” view centered in the vertical overlap between two other views.
This stack overflow Q&A explains the desired behavior and how this project implements it.
This project is hereby placed in the public domain.
Rob Mayoff 2013-06-28