Re: stringWithContentsOfURL: usedEncoding: error:
Re: stringWithContentsOfURL: usedEncoding: error:
- Subject: Re: stringWithContentsOfURL: usedEncoding: error:
- From: Andy Lee <email@hidden>
- Date: Mon, 5 Jun 2006 22:30:05 -0400
On Jun 5, 2006, at 10:11 PM, Greg Stark wrote:
NSStringEncoding *enc;
NSError *error;
NSString *test = [NSString stringWithContentsOfURL:[URLsToOpen
objectAtIndex:0]
usedEncoding:&enc
error:&error];
NSStringEncoding isn't an object, it's just a typedef for unsigned.
Change
NSStringEncoding *enc;
to
NSStringEncoding enc;
--Andy
_______________________________________________
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