nscell Questions

2

Solved

All native controls have different appearance when their parent window is active or inactive. How should we check this state in custom components e.g. while rendering a button cell? We could inspe...
Dyslogia asked 3/10, 2019 at 10:4

1

I'm trying to increase the height of a NSSegmentedControl, beyond the 25px "Regular" control size. I subclassed NSSegmentedCell, I understand that i have 2 methods to work with. - (void)drawSegmen...
Bennie asked 13/8, 2014 at 15:15

1

I'm trying to emulate the tokenized search feature of Mail.app and Finder.app on 10.7+ where there is what looks to be an NSSearchField with a search magnifying glass icon on the left and cancel (x...
Ramsdell asked 23/10, 2012 at 0:25

2

I am aware that Apple is deprecating the use of NSCell in favour of NSView (see AppKit 10.10 release notes). It was previously recommended that NSCell be used for performance reasons when many cont...
Intertwine asked 28/11, 2014 at 13:54

1

I am learning about NSControl. I am aware that NSCell has begun its road to deprecation in OS X 10.10 Yosemite, and so I'd rather not use an API that is going away. Also, the NSControl Class Refere...
Bring asked 10/6, 2015 at 3:48

10

I'm trying to subclass NSCell for use in a NSTableView. The cell I want to create is fairly complicated so it would be very useful if I could design it in Interface Builder and then load the NSCell...
Deuteranopia asked 14/10, 2008 at 19:19

2

Solved

I need to show an NSTextFieldCell with multiple lines with different format on each line. Something like this: Line 1: Title Line 2: Description I subclassed NSTextFieldCell but I don't know ho...

2

I am trying to setup a NSTableView with a custom cell using an ArrayController and Bindings. To accomplish this I added a subview to the custom cell. The data connection seems to work somewhat. Tho...
Submaxillary asked 4/5, 2011 at 13:36

1

Solved

I'm trying to subclass NSCell to draw a custom background highlight. The documentation seems to suggest that the overriding highlight:withFrame:inView: should allow me to do this but the method is ...
Pidgin asked 18/2, 2011 at 12:36

1

Solved

I'm an iOS developer. I recently started my Mac project, but I found that unlike UITableViewCell, which is a subclass of UIView, the cell of NSTableView is NSCell, and I even can't create it in IB....
Thaddeusthaddus asked 3/2, 2011 at 14:45

2

Solved

in my cocoa application, I need a custom NSCell for an NSTableView. This NSCell subclass contains a custom NSButtonCell for handling a click (and two or three NSTextFieldCells for textual contents)...
Genuflection asked 17/2, 2010 at 11:53
1

© 2022 - 2024 — McMap. All rights reserved.