On Dec 6, 2008, at 7:17 AM, Amy Gibbs wrote:

Is this 10.5 only? It doesn't seem to be recognised by xcode 2.5, and it doesn't run on my machine at all. I should have mentioned I'm targeting 10.4 with this.

stringWithContentsOfURL:encoding:error is in 10.4 and later. Do you have the proper SDK specified (e.g. 10.4 universal?)


On 6 Dec 2008, at 12:58, Ricky Sharp wrote:

You can probably simplify this a bit by using stringWithContentsOfURL:encoding:error. Note 'encoding' and not 'usedEncoding'. The former allows you to specify the encoding. In this case, use the constant NSISOLatin1StringEncoding (which is ISO_8859-1).

___________________________________________________________
Ricky A. Sharp         mailto:[EMAIL PROTECTED]
Instant Interactive(tm)   http://www.instantinteractive.com



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to