Autolayout demo with todo app in class