• 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: Exception using custom input stream for NSURLRequest
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exception using custom input stream for NSURLRequest


  • Subject: Re: Exception using custom input stream for NSURLRequest
  • From: "Quinn \"The Eskimo!\"" <email@hidden>
  • Date: Mon, 06 Feb 2012 12:43:32 +0000

On 4 Feb 2012, at 04:58, Jens Alfke wrote:

> I’m going to try and override that private method, Quinn’s objections notwithstanding, since it’s pretty clear from the name what it’s supposed to do.

IMPORTANT:  These methods are considered private API and thus a) engender a binary compatibility liability, and b) are disallowed for App Store apps.

A better solution is to use a bound pair of streams, as returned by CFStreamCreateBoundPair.  The POST functionality in the SimpleURLConnections sample code shows the way.

<http://developer.apple.com/library/ios/#samplecode/SimpleURLConnections/>

Share and Enjoy
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Exception using custom input stream for NSURLRequest
      • From: Jens Alfke <email@hidden>
References: 
 >Re: Exception using custom input stream for NSURLRequest (From: Jeff Johnson <email@hidden>)

  • Prev by Date: Re: Exception using custom input stream for NSURLRequest
  • Next by Date: Re: Exception using custom input stream for NSURLRequest
  • Previous by thread: Re: Exception using custom input stream for NSURLRequest
  • Next by thread: Re: Exception using custom input stream for NSURLRequest
  • Index(es):
    • Date
    • Thread