Re: Seemingly bizzare calling of method
Re: Seemingly bizzare calling of method
- Subject: Re: Seemingly bizzare calling of method
- From: Mike Abdullah <email@hidden>
- Date: Mon, 16 Jan 2006 00:10:42 +0000
Hmm, so it appears you are right.
My method is actually called "setEventTitle:" and I have an IBOutlet
in the same class called "eventTitle." If I rename the method to
something slightly different then this doesn't happen.
So, what can I do to stop this? I'm fairly new to Cocoa, so I'm not
really sure here! I mean, yes I could easily just choose an
alternative name, but the method and the outlet are supposed to be
fairly closely tied together. Anyone?
Mike.
On 15 Jan 2006, at 00:48, j o a r wrote:
On 15 jan 2006, at 01.25, Mike Abdullah wrote:
But this is what I don't understand - I haven't written any code
that actually calls this method yet! So why on Earth is it being
called? What have I done wrong?!?
Set a breakpoint in the method, and the debugger will tell you why
it's called!
But a guess: Could it be that you have a nib outlet with the same
name as this method? If so, check the IB FAQ (in the Help menu) for
more details on that behaviour.
j o a r
_______________________________________________
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