french english

RSS 1.0 
 
 Login 
 Password 
 Sign in 
 
03-12-08 / 23:17 : Cappuccino CPTableView : source code (cjed)
In the dev source tree of Cappuccino we can finally get the source code of the CPTableView class. Its implementation is identical to the corresponding Cocoa class, the table requests its datasource delegate to get each cell value : [_dataSource tableView:self objectValueForTableColumn:_tableColumns[column] row:row]. Then the lines data cache has to be managed in the datasource implementation, if the data are retrieved through JSON calls, in order to prevent the application server to request the database for each new cell to display when scrolling up or down the table. We can simply maintain a dozen lines cells cache.
Comments
Write a comment 
  
    
  image de securisation du formulaire


  
      (will be added after validation)