trying to write working todayViewController to Obj-C