Questions tagged [nstablerowview]

The NSTableRowView class is the view shown for a row in an NSTableView. It is responsible for displaying attributes associated with the row, including the selection highlight, and group row look.

The NSTableRowView class is the view shown for a row in an NSTableView. It is responsible for displaying attributes associated with the row, including the selection highlight, and group row look.

Inheritance order :

NSObject > NSResponder > NSView

21 questions
0
votes
1 answer

How to initialize NSTableRowView subclass?

The compiler crashses on line 3 and I cant find information on NSTableRowView initializers anywhere class ItemRowView: NSTableRowView { convenience override init(frame: NSRect) { self.init(frame: frame) // EXC BAD ACCESS …
fff
  • 25
  • 7
0
votes
1 answer

NSTableview set selectionHighlightStyle to NSTableViewSelectionHighlightStyleNone programmatically in Swift

If I selected a row, I want to disable the highlighting blue color. In Swift language, I'm unable to set selectionHighlightStyle to NSTableViewSelectionHighlightStyleNone for my NSTableview. This is my code: func tableView(tableView: NSTableView,…
0
votes
1 answer

Styling NSOutlineView Rows

I have a Document based Core Data app with an NSTreeController supplying the content to a view based NSOutlineView. I am "styling" (setting text colour, background colour etc.) the rows based on persistent "transformable" NSColor and NSFont…
0
votes
1 answer

setting row colours and heights for NSOutlineView (view based and source listing options selected )

I have customised NSOutlineView using delegate functions to adjust row heights and color for group items using the following: - (void)outlineView:(NSOutlineView *)outlineView didAddRowView:(NSTableRowView *)rowView forRow:(NSInteger)row { …
Duncan Groenewald
  • 8,496
  • 6
  • 41
  • 76
0
votes
0 answers

Accessing IBOutlet of a controller in another class in COCOA

I have a controller with a IBOutlet as follow : @interface MyController : NSViewController { IBOutlet NSWindow *detachedWindow; } @property (retain, nonatomic) NSWindow *detachedWindow; @end I want to access that…
triandicAnt
  • 1,328
  • 2
  • 15
  • 40
0
votes
0 answers

NSTextFiled lose control in NSTableRowView. Why?

I use NSOutlineview to group a view(the view align left side of NSOutlineView), So I subclass the NSTableRowView as a view. then putting NSTextField for something control. But NSTextField can't work inside NSTableRowView. Anyone can give me…
CocoaUser
  • 1,361
  • 1
  • 15
  • 30
1
2