• 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: Issue with read/write to NSFileHandle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue with read/write to NSFileHandle


  • Subject: Re: Issue with read/write to NSFileHandle
  • From: Shane Stanley <email@hidden>
  • Date: Thu, 30 Jun 2016 16:54:56 +1000

On 30 Jun 2016, at 4:33 PM, Graham Cox <email@hidden> wrote:
>
> Yes, is that wrong?
>
> If it is wrong, what’s the purpose of +[NSFileHandle fileHandleForUpdatingURL:…] which is intended for read/write, as opposed to making a separate one for read and another for write?

I think it's meant for simple cases where the same object is read and writing, more or less. Try separate read/write handles.

--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>


_______________________________________________

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


References: 
 >Issue with read/write to NSFileHandle (From: Graham Cox <email@hidden>)
 >Re: Issue with read/write to NSFileHandle (From: Shane Stanley <email@hidden>)
 >Re: Issue with read/write to NSFileHandle (From: Graham Cox <email@hidden>)

  • Prev by Date: Issue with read/write to NSFileHandle
  • Next by Date: Re: Issue with read/write to NSFileHandle
  • Previous by thread: Re: Issue with read/write to NSFileHandle
  • Next by thread: Re: Issue with read/write to NSFileHandle
  • Index(es):
    • Date
    • Thread