UA-17470720-3

Jump to content


Photo
- - - - -

~customProperties and STV 5.3.0


  • Please log in to reply
1 reply to this topic

#1 Dave Guerin

Dave Guerin

    Forum Master

  • STV 5.0 Pro
  • PipPipPipPipPipPipPip
  • 545 posts
  • LocationIreland
Reputation: 136
Popular

Posted 29 March 2016 - 10:59 AM

I can confirm that ~customProperties are now calling cellActions.willConfigure in STV 5.3.0.

 

Hurrah! Thanks Tarek!

 

cellActions.willConfigure wasn't always called by ~customProperties in some earlier versions of STV, see here:

 

http://sensiblecocoa...ies/#entry13159

 

 

But, ~customProperties seem to be calling willConfigure 4 times, and then willDisplay twice.

 

I thought that willConfigure was only called the once for a cell. 4 times seems a bit excessive. It doesn't matter, it is all working now, but is that how it's supposed to work?


Cheers,

Dave

www.dgapps.ie

#2 Tarek

Tarek

    Forum Admin

  • Administrators
  • 3670 posts
Reputation: 452
Popular

Posted 29 March 2016 - 11:44 AM

Hi Dave,

 

Thank you very much for confirming!

 

willConfigured is called whenever iOS asks for the cell's height, which we can't control. Having said that, it is still possible to optimize this by setting a flag that the cell has been already configured. We will set this in our next release.

 

Thanks again!


  • Dave Guerin and wizgod like this




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users