(no subject)
(no subject)
- Subject: (no subject)
- From: Kevin Bracey <email@hidden>
- Date: Thu, 29 Apr 2004 19:24:33 +1200
Hi all,
I have encountered these warning and I'm wondering how to deal with
them:
columnWidth is a float;
columnWidth = [[NSNumber numberWithUnsignedInt:[[tempHeaders
objectAtIndex:i] length]] floatValue] * 10.0;
[tempHeaders objectAtIndex:i] will return a NSString but only I know
that;-)
using '-(unsigned int)length NSString h:60
also found '-(float)length NSStatusItem h:44
multiple declarations for method 'length'
As you can see I had hoped that telling it that I was expecting a
UnsignedInt would have fixed the warnings. I'm not to sure how to type
cast something in Cocoa. I have used NSString length elsewhere without
this problem.
thanks
Kevin Bracey
"Specialization is for Insects." -- Robert Heinlein
_______________________________________________
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.