• 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: Cocoa-dev Digest, Vol 6, Issue 1355
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa-dev Digest, Vol 6, Issue 1355


  • Subject: Re: Cocoa-dev Digest, Vol 6, Issue 1355
  • From: dct <email@hidden>
  • Date: Tue, 22 Sep 2009 14:21:11 -0700

On Sep 21, 2009, Greg Guerin wrote:


How do you know the original file at path0 contained several thousand bytes?

Because I put them there: [hndl0 writeData:[NSData dataWithBytes:buffer length:lngth]]; and checked them: bytes = [hndl0 seekToEndOfFile];

Is there a possibility it was a file with an empty data-fork but a non-empty resource fork?


I don't think so given that seekToEndOFile worked as expected.

Also, if the old code ran without any problem, why change it?

-- GG

There's the rub. The original code used methods that are now deprecated.


Don

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Prev by Date: Re: IB does not show Outlet/Action section in inspector
  • Next by Date: Re: IB does not show Outlet/Action section in inspector
  • Previous by thread: Re: UITableView Custom cell with image
  • Next by thread: Getting content out of a WebView
  • Index(es):
    • Date
    • Thread