Autolayout sample for OSX and iOS