2

I calculate the height of a row in the method "heightForRowAtIndexPath" but I need to use this value in the method "cellForRowAtIndexPath" ... is there a way to get access to the value already calculated or do I need to do the calculations again ?

Thks,

Gotye.

gotye
  • 958
  • 2
  • 14
  • 33
  • Can't you memoize the result in an ivar? – kennytm Mar 27 '10 at 21:37
  • Well, why wasting memory and time if the system is already saving the ivar for me ? I just want to know if there is something like [indexpath height] ?!? – gotye Mar 29 '10 at 12:00

0 Answers0