custom-cell

NSPopUpButtonCell inside custom cell does not pop up when clicked.

I've created a custom subclass of NSCell with an NSImageCell, some NSTextFieldCells, and an NSPopUpButtonCell. I'm initializing the pop up cell using: myPopUpCell = [[NSPopUpButtonCell alloc] init]; [myPopUpCell setBordered:NO]; [myPopUpCell setAutoenablesItems:NO]; [myPopUpCell addItemsWithTitles:[NSArray arrayWithObje...

iPhone UITableViewCell slow performance

I just wrote a small application that read from a site feed and display in UITableViewCell. I am using custom view cell and my UITableView is screwed in scrolling like it is not very smooth in scrolling upside down. Any idea? Here's the code for my UITableViewCell, - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtInde...

Problem with scrolling of a custom table view

Hello. I'm in need of help again. I have two view's, one of which contains a custom-cell table view. The contents of a cell are just several lables, which are generated programmatically. All is correct and works perfect with no memory leaks, BUT... When I fast scroll table view and press Back button (the scroll is still in motion), the a...

How to tell a UITableView to preload all Rows?

Is there a way to tell a UITableView to preload all rows? The tableView is supposed to show several comments (up to 80 comments). So my CommentCell uses a Setter to adapt the cell to a specific comment. -(void)setComment:(Comment *)newComment { if (newComment != comment) { [comment release]; comment = [newComment retain]...

Implementing NSOutlineView/NSTableView with different cells (and data types) per row.

I'm wondering how one would implement an outline view like the one Xcode 3 is using for the build configuration: When using an NSOutlineView/NSTableView with bindings and an NSTreeController/NSArrayController, the view's columns get bindings assigned to, not the individual cells, for obvious reasons. If every row in a column uses the ...

Mapkit used in a grouped table cell and extends the rounded corners

I have a custom UITableViewCell set up with a MKMapView set up within the cell. I would like the map to take up all of the cell and so I have set the Map View to have the same dimensions as the TableCell. The application is working ok, but the square corners on the Map View extend beyond the bounds of the table cell. Is there a way to...