• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSURL problems on the Internet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSURL problems on the Internet


  • Subject: Re: NSURL problems on the Internet
  • From: Raff <email@hidden>
  • Date: Wed, 7 Aug 2002 01:33:48 +0200

Did you try this?

data = [NSData initWithContentsOfURL:[NSURL URLWithString:theUrl]];
if(data)
[data writeToFile:[destFile stringByExpandingTildeInPath] atomically:YES];
else
??

I didn't.
Well, it works perfectly !
(except that the class method name is '+dataWithContentsOfURL').

Merci beaucoup !

Raphakl Delcroix
_______________________________________________
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.

  • Prev by Date: Re: Accessor methods and (auto)release: conclusion
  • Next by Date: circular progress indicator
  • Previous by thread: Re: NSURL problems on the Internet
  • Next by thread: Re: UID <-> Login name <-> Full name
  • Index(es):
    • Date
    • Thread