Re: (hopefully) simple newb question
Re: (hopefully) simple newb question
- Subject: Re: (hopefully) simple newb question
- From: Mike Abdullah <email@hidden>
- Date: Thu, 19 Jan 2006 00:08:50 +0000
OK, my apologies guys, I've cracked it.
Basically, both my NSDocument and my NSWindowController had method's
of the same name (setEventKind). Yes, I know this is stupid! The
one in the window controller was left over from earlier programming
work where I wasn't so sure on some of the rules one is supposed to
use in Cocoa.
The real issue seemed to come in because the method in the NSDocument
took an integer as it's argument, whilst the window controller
version used an id (it was an IBAction).
So once, again, sorry!
Mike.
On 18 Jan 2006, at 20:23, Andy Armstrong wrote:
On 18 Jan 2006, at 20:20, Mike Abdullah wrote:
So have I misunderstood things? Can you only use actual objects/
classes as arguments in a function called between classes?
No - there's definitely no such limitation.
--
Andy Armstrong, hexten.net
_______________________________________________
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