Re: Newbie error
Re: Newbie error
- Subject: Re: Newbie error
- From: Lon Giese <email@hidden>
- Date: Fri, 2 Jun 2006 04:41:47 -0700
I am getting this error:
/Users/graham/Projects/Pre FOF/Controller.m:13: warning: passing
argument 1 of 'initWith:' from distinct Objective-C type
if browser were not the proper type for the interface he would get an
(IMHO)
"incompatible pointer" warning
the warning says
from distinct Objective-C type
which is absolutely correct, but that shouldn't be a warning
I tried searching the documentation for this warning and it comes up
with nothing relevant
Are you doing anything special in your project, like mixing C++ and
objC or Java or importing from Code Warrior?
I think a xcode expert needs to answer this question... might be a
bug...
My xcode problem turned out to be a bug... xcode seems to be pretty
buggy and unstable... IMHO
WooHoo the ultimate Mac App for 'The Sims 2' power users.
http://www.modthesims2.com/showthread.php?p=1239629
On Jun 2, 2006, at 3:02 AM, Graham wrote:
@interface BrowserDelegate : NSObject {
Person *me;
}
- (id)initWith:(NSBrowser *)brow;
- (void)setSelf:(Person *)me;
@end
and the instance variable browser is defined as (NSBrowser *) for this
call:
browserDelegate = [[BrowserDelegate alloc] initWith:browser];
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
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