Re: Makes int from pointer without cast
Re: Makes int from pointer without cast
- Subject: Re: Makes int from pointer without cast
- From: Stephane Sudre <email@hidden>
- Date: Mon, 14 Mar 2005 18:56:49 +0100
On 14 mars 05, at 18:45, Kodex wrote:
id objectValue = nil;
NSString *server;
if(somethingTrue)
{
objectValue = [[NSMutableAttributedString alloc]
initWithString:server];
[objectValue applyFontTraits:[NSColor blueColor]
range:NSMakeRange(0, [server length])];
[objectValue autorelease];
return objectValue;
}
can someone tell me why this dosnt work correctly? Thanks
Because [NSColor blueColor] is not a NSFontTraitMask as explained in
the documentation?
_______________________________________________
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