• 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
Retaining NSInputStream working with NSStream
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Retaining NSInputStream working with NSStream


  • Subject: Retaining NSInputStream working with NSStream
  • From: Christoffer Lerno <email@hidden>
  • Date: Thu, 27 May 2004 15:28:43 +0800

NSStream has the method +(void)getStreamsToHost:port:inputStream:outputStream

You throw in a NSInputStream** for an inputStream argument and similar for the outputstream. Now my question is: What the heck is the status for these streams? Did they got assigned autoreleased streams or did I get something that is retained? I.e. should I do a [inputStream retain] after this method or not??

/Christoffer
_______________________________________________
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.


  • Follow-Ups:
    • Re: Retaining NSInputStream working with NSStream
      • From: Chris Parker <email@hidden>
    • Re: Retaining NSInputStream working with NSStream
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Unit testing frameworks
  • Next by Date: Getting a user's associated image
  • Previous by thread: Re: Unit testing frameworks
  • Next by thread: Re: Retaining NSInputStream working with NSStream
  • Index(es):
    • Date
    • Thread