Questions tagged [nstablecellview]

The NSTableCellView class of Cocoa, is a reusable container view shown for a particular cell in an NSTableView instance that uses rows for content.

124 questions
0
votes
1 answer

Autolayout inside a view-based NSTableView

I have an NSTableView (view-based) that creates a row; - (NSView *)tableView:(NSTableView *)tableView viewForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row { TaskTableCellView *tableCellView = [[TaskTableCellView alloc] init]; …
XeroxDucati
  • 5,130
  • 2
  • 37
  • 66
0
votes
2 answers

NSTableCellView not retaining the value of its NSTextField

The following is inside the delegate's viewForTableColumn method. I am dynamically creating table columns in the datasource based on a selection in a list view. NSDictionary* rowData = [[self tableData] objectAtIndex:row]; NSString*…
0
votes
1 answer

Weird behaviour when loading images in NSTableView

I'm loading images with GCD, I got some strange behaviour. When you scroll though the table view, every album starts fetching the artwork. The NSTableCellView quickly displays many wrong artworks, until after maybe a second it finally displays the…
IluTov
  • 6,807
  • 6
  • 41
  • 103
0
votes
2 answers

Binding inside a NSTableCellView

I'm using a NSOutlineView view based and i want to bind a NSSlider and a NSTextfield to a NSDictionary key (@""duration"). The dictionary is a property of my NSTableCellView subclass. I'm facing an error when trying to setup the binding : The error…
Elfoiros
  • 468
  • 1
  • 7
  • 18
0
votes
1 answer

How to get a custom table cell view with multiple columns and their contents

I am completely a newbie in Mac OSX development. I have a View based NSTableView with 3 columns. Here are the structures of the columns: TableColumn1->Table Cell View->NSImageView, NSTextField1, NSTextField2 TableColumn2->Table Cell…
Erfan
  • 1,284
  • 1
  • 13
  • 21
0
votes
0 answers

NSTableView with chat bubbles

I need to create a NSTableView with chat bubbles like Messages app. Is there any sample code/tutorial that I can use. I am trying to use view based NSTableView, with custom NSTableCellView. I added a background image and trying to use the following…
Vibhor Goyal
  • 2,405
  • 2
  • 22
  • 35
0
votes
3 answers

Remove NSTableCellView

How do I maunally remove a NSTableCellView (or a subclass of it) from my NSTableView? When i empty my array holding information, queue DB for new information and then reload the tables data, it only updates the cell with index values similar to ones…
d00dle
  • 1,276
  • 1
  • 20
  • 33
0
votes
1 answer

View-based NSOutlineView with custom selection style

I'm implementing a tool very similar to the built-in plist editor in Xcode. The only thing missing is the custom highlighting when a row is selected (see attached image). What's the proper way achieving this?
Attila H
  • 3,616
  • 2
  • 24
  • 37
0
votes
4 answers

iOS: Xcode - How to reveal content from under a cell?

I'm trying to create an app similar to the one in the screenshot: https://i.stack.imgur.com/Xhi5Z.jpg It looks like a table view with contents revealed under the cell on tap. Does anyone know how to do this. I've managed to to create a cell that…
Eric P Pereira
  • 450
  • 1
  • 7
  • 18
0
votes
1 answer

resizableImageWithCapInsets inside NSTableView (view based)

i try to do resizableImageWithCapInsets (as in iOS) for mac. // right bubble NSLog(@"==================== OLD VALUES =============="); NSLog(@"size->%@",NSStringFromSize(size)); …
user170317
  • 1,152
  • 2
  • 11
  • 22
0
votes
2 answers

NSArrayController populates NSTableView but doesn't set the cell title

I have a two column NSTableView that I want to populate with entries grabbed from a CSV file. Everything works fine except the title of each of the table cells isn't set. Here's the function that is called for each row in the NSArray -…
user1767172
0
votes
1 answer

Cocoa : Custom TableView cell?

I am not really familiar with tables, as I usually make games, but now I want to create a level builder where I need a table view with custom cells. I have created a nib file and I have subclassed NSTableCellView, but I don't know what to do next.…
the_critic
  • 12,720
  • 19
  • 67
  • 115
0
votes
1 answer

NSProgressIndicator in NSTableCellView

I have an NSTableCellView subclass that contains an NSProgressIndicator. I have it all updating and animating properly, however it remains greyed out. I suspect this is a view loop issue. Any thoughts?
-1
votes
1 answer

Random table view cell height is not working perfectly

I am designing a chat app in which I am using the UITableViewAutomaticDimension property of table view when I am setting the label lines to 6 then all cells height is according to the text which label contains but when I increase the number of lines…
Asad Yasin
  • 93
  • 10
-1
votes
1 answer

Perform segue depending on Click on a custom TableCellView sub item

I have a custom UITableViewCell with some UILabel inside, my goal is to perform different segue if user tap on a UILabel or another one. I could not understand on which sub item of my UITableViewCell user have just tapped on. Is there a way to get…
1 2 3
8
9