Re: Is there a way I can fix these warnings?
Re: Is there a way I can fix these warnings?
- Subject: Re: Is there a way I can fix these warnings?
- From: Ondra Cada <email@hidden>
- Date: Sat, 1 Jun 2002 02:29:54 +0200
On Saturday, June 1, 2002, at 02:22 , Clark Mueller wrote:
1. using '-(void)setContentView:(NSView *)aView'
2. also found '-(void)setContentView:(NSClipView *)contentView'
3. multiple declarations for method 'setContentView:'
This would appear to be something beyond my control, but is there another
method I should be using instead? I have stayed with this one because it
works, but if it is not correct, I'd like to know. Thanks.
Looks like a slight non-fatal design bug. Get rid of those warnings by an
explicit casting:
[(NSBox*)whatever setContentView:whateverView]
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.