On 11/11/2016 6:27 PM, Kyle Sluder wrote:
On Fri, Nov 11, 2016, at 07:34 PM, James Walker wrote:
I want to replace (for example) an instance of NSButtonCell with an
instance of my own subclass of NSButtonCell on the fly. Now, I know
that's not a common thing to want to do; normally, you'd edit
> On 12 Nov 2016, at 01:34, James Walker wrote:
>
> However, the new cell has failed to copy much of the state of the old one.
> Things like title, font, target, action, bezelStyle... I can manually copy
> anything that I notice is missing, but I'm just wondering why the keyed
> archiver ap
On Fri, Nov 11, 2016, at 07:34 PM, James Walker wrote:
> I want to replace (for example) an instance of NSButtonCell with an
> instance of my own subclass of NSButtonCell on the fly. Now, I know
> that's not a common thing to want to do; normally, you'd edit the nib to
> use whatever cell class
I want to replace (for example) an instance of NSButtonCell with an
instance of my own subclass of NSButtonCell on the fly. Now, I know
that's not a common thing to want to do; normally, you'd edit the nib to
use whatever cell class you want. But I'd like to be able to do it to
an NSAlert, fo