I turned font into a property of question view controller so it be accessed outside the cellForRowAtIndexPath and made cell size =  6 * font height. Font in now defined in viewDidLoad.