Hi,
I've set the cellClass in the +load() method (on the textfield subclass)
using setCellClass under mavericks. If memory serves me right, it set the
cell in yosemite as well. I was however, creating my cells in code as well.
If you are coding in objective-c, then you might be able to set it the
> On Oct 7, 2015, at 11:08 PM, Graham Cox wrote:
>
> I’ve tried swapping out the text field’s cell by creating a subclass and
> copying all of the original settings into it. Unfortunately that doesn’t work
> - just copying across the state isn’t enough to make the replacement cell
> look and a
On Oct 7, 2015, at 21:08 , Graham Cox wrote:
>
> Radar time.
If you’re going that route, it sure seems like ‘cellClass’ shouldn’t not be
called — if it’s not possible to use it, then “deprecated” seems like a
mis-description. But perhaps there’s a pattern of old methods to implement that
trig
> On 8 Oct 2015, at 2:33 pm, Quincey Morris
> wrote:
>
> These statements sound a bit contradictory to me, but never mind.
Well, they shouldn’t be, I daresay my usual inabilty to express these things is
getting in the way. My interface is very dynamic, with many different ‘panels’
that can
On Oct 7, 2015, at 17:50 , Graham Cox wrote:
>
> I’d rather do it in code, because I have hundreds of these fields and it
> would be a lot simpler to simply set the cell class once in code instead of
> hundreds of times in IB.
On Oct 7, 2015, at 20:13 , Graham Cox wrote:
>
> what I want to
> On 8 Oct 2015, at 11:50 am, Graham Cox wrote:
>
> I understand that cells are going away, but there currently doesn’t seem to
> be a replacement for returning a custom field editor for a given text field
> that doesn’t involve its cell. If there is, and I’ve missed it, that would be
> a bet
I have a NSTextField subclass that must currently also always have a
NSTextFieldCell subclass internally (which in turn is needed only to provide a
custom Field Editor when needed).
In 10.10, cells are deprecated, though the cell is still there. I previously
returned the custom class from +cell