Re: (hopefully) simple newb question
Re: (hopefully) simple newb question
- Subject: Re: (hopefully) simple newb question
- From: Mike Abdullah <email@hidden>
- Date: Wed, 18 Jan 2006 20:20:48 +0000
As an experiment, I've just tried replacing the int argument with
NSNumber and using numberWithInt and intValue to get between the
two. This works quite happily!
So have I misunderstood things? Can you only use actual objects/
classes as arguments in a function called between classes?
Mike.
On 18 Jan 2006, at 18:32, Daniel Jalkut wrote:
Does the window controller have access to a prototype for the
method in question? E.g. does it include "MyDocument.h", or
wherever the interface is declared?
Daniel
On Jan 18, 2006, at 9:56 AM, Mike Abdullah wrote:
"passing argument 1 of setEventKind: makes pointer from integer
without a cast"
Why is this a problem from the window controller, but not from the
NSDocument?
_______________________________________________
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