Could somebody please verify that this method does what I expect it to do?
I need such a test within NSDocument. Here Apple takes special care that
if somebody has implemented the old interface methods for NSDocument in
a subclass, then these methods are actually called instead of the new
interface
On 29 Dec 2006, at 01:26, Fred Kiefer wrote:
Could somebody please verify that this method does what I expect it
to do?
I need such a test within NSDocument. Here Apple takes special care
that
if somebody has implemented the old interface methods for
NSDocument in
a subclass, then these m
Richard Frith-Macdonald schrieb:
>
> On 29 Dec 2006, at 01:26, Fred Kiefer wrote:
>
>> Could somebody please verify that this method does what I expect it to
>> do?
>> I need such a test within NSDocument. Here Apple takes special care that
>> if somebody has implemented the old interface methods
On 30 Dec 2006, at 16:09, Fred Kiefer wrote:
BOOL
GSObjCHasOverridden(Class baseClass, id object, SEL selector)
{
if (GSObjCIsClass(object))
{
if ((Class)object == baseClass
|| GSGetMethod((Class)object, selector, NO. YES) ==
GSGetMethod(base, selector, NO. YES))
{
Richard Frith-Macdonald schrieb:
>
> On 30 Dec 2006, at 16:09, Fred Kiefer wrote:
>
>>> BOOL
>>> GSObjCHasOverridden(Class baseClass, id object, SEL selector)
>>> {
>>> if (GSObjCIsClass(object))
>>> {
>>> if ((Class)object == baseClass
>>> || GSGetMethod((Class)object, select