Re: [CAcnTItem indexPath]: selector not recognized [self = 0x15d26c90]]
Re: [CAcnTItem indexPath]: selector not recognized [self = 0x15d26c90]]
- Subject: Re: [CAcnTItem indexPath]: selector not recognized [self = 0x15d26c90]]
- From: Bert Torfs <email@hidden>
- Date: Fri, 1 Jul 2005 20:02:14 +0200
Well,
the problem is that I do not call that method myself. The Cocoa
Bindings classes suddenly started to call it. I gues it happened
after I binded the fontsize of my NSOutlineView to a global
preference setting. What Cocoa wants me to do in indexPath is a
mistery to me.
Thanks,
Bert
Hi Bert,
You are trying to call a method that doesn't exists and hence you get
the error in your log as "selector not recognized". And when you
created
a method of the type you are calling in [CAcnTItem indexPath], the
error
is no more displayed. Well if you don't do anything in indexPath
method,
you can skip calling the method altogether.
Cocoa/Objective-C is more dependent on run-time and thats why when you
compile your code, you won't get any error message even though you
are
trying to call a non-existent method. Cocoa/Objective-C finds such
errors during run-time rather than during compile time. This
feature of
Cocoa/Objective-C is a boon if you use it properly, otherwise its
curse :-).
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden