Re: Newbie error
Re: Newbie error
- Subject: Re: Newbie error
- From: "Shawn Erickson" <email@hidden>
- Date: Thu, 1 Jun 2006 15:11:07 -0700
On 6/1/06, Graham <email@hidden> wrote:
I am getting this error:
/Users/graham/Projects/Pre FOF/Controller.m:13: warning: passing
argument 1 of 'initWith:' from distinct Objective-C type
For this line:
browserDelegate = [[BrowserDelegate alloc] initWith:browser];
And I cannot make the warning go away. What is the problem?
How is "browser" defined? What is -[BrowserDelegate initWith:] defined
to take as a parameter?
Also "initWith" isn't a good name (init with what?)... seems like
"initWithBrower" might be a better choice.
-Shawn
_______________________________________________
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