Welcome, Guest
Username Password: Remember me

Speeding up Table View cell loading
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Speeding up Table View cell loading

Speeding up Table View cell loading 1 year, 2 months ago #1

Tarek,

I was reading the below article for Speeding up Table View cell loading. I was wondering if we can use new UINib iOS 4.0 class along with STV framework. Which STV delegate method is suitable for implementing the UINib? Or Can we have with in framework as new feature?

useyourloaf.com/blog/2011/2/28/speeding-...ding-with-uinib.html
  • rajdn
  • OFFLINE
  • Senior Boarder
  • Posts: 47
  • Karma: 0

Re: Speeding up Table View cell loading 1 year, 2 months ago #2

Thanks a lot Raj for the suggestion!

STV 2.0 already implements it's own caching mechanism if the custom cell nib is passed via the class definition. If you are using the "customCellForRowAtIndexPath" method to return a custom cell, you can use any caching mechanism you want from within the method itself (all STV cares about is the SCControlCell object returned by the method). Please tell me if you need any more help with that.
  • tarekskr
  • OFFLINE
  • Administrator
  • Posts: 2402
  • Karma: 72

Re: Speeding up Table View cell loading 1 year, 2 months ago #3

I'm not using the custom cell currently. My proj is similar to iPad sample project that is cells are generated by STV. I was thinking that the dummy NIB we created initially with "Group" type TableViewController setup is loading the cell from the dummy NIB file may need UINib for speeding up. So you mean all the STV generated cell are cached internally?
  • rajdn
  • OFFLINE
  • Senior Boarder
  • Posts: 47
  • Karma: 0

Re: Speeding up Table View cell loading 1 year, 2 months ago #4

Hi Raj,

The only time STV loads a cell from a NIB is in the case of custom cells created in Interface Builder and given to STV by the user. Other than that, STV never loads anything from NIB files.
  • tarekskr
  • OFFLINE
  • Administrator
  • Posts: 2402
  • Karma: 72
  • Page:
  • 1
Time to create page: 0.78 seconds