How can I call NSColorWell without using poseAsClass? Here is my old code, but poseAsClass is depreciated.
+ (void) load
{
[MyColorWell poseAsClass:[NSColorWell class]];
}
thanks
How can I call NSColorWell without using poseAsClass? Here is my old code, but poseAsClass is depreciated.
+ (void) load
{
[MyColorWell poseAsClass:[NSColorWell class]];
}
thanks
Copyright © 2021 Jogjafile Inc.
This is an example of replacing exact functionality of
poseAsClass
with JRSwizzle (a library for overriding methods):https://github.com/wakatime/textmate-wakatime@06d6e3684603a07ee2a981823f69868d0f6d1a26