• 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
Big picture relationships between NSConnection, NSInputStream, NSOutputStream etc
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Big picture relationships between NSConnection, NSInputStream, NSOutputStream etc


  • Subject: Big picture relationships between NSConnection, NSInputStream, NSOutputStream etc
  • From: Ken Tozier <email@hidden>
  • Date: Wed, 3 Dec 2008 22:22:28 -0500

Hi

I'm working my way through the "Distributed Objects" documentation and am confused about when to use NSConnection, NSInputStream, NSOutputStream etc. The PictureBrowser example project doesn't even seem to use NSConnection and does its thing just fine. Reading the NSConnection docs, I notice the conspicuous absence of any method that actually allows the transfer of messages and data. It just seems like something that allows you to connect to something ... and then has not a single method to actually do anything with that connection.

I looked at several of the example projects but they're all over the map. Some use CF functions, some use raw BSD sockets, PictureBrowser uses NSNetService (something not even mentioned in the Distributed Object docs) So what is the overview of the function and interrelationships between these different parts and importantly, what exactly does one do with an NSConnection?

Thanks for any help
_______________________________________________

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


  • Follow-Ups:
    • Re: Big picture relationships between NSConnection, NSInputStream, NSOutputStream etc
      • From: John Pannell <email@hidden>
  • Prev by Date: Re: NSSavePanel mishandling extensions
  • Next by Date: Programmatically loading an NSImage via other field
  • Previous by thread: Insertion bug in NSTreeController?
  • Next by thread: Re: Big picture relationships between NSConnection, NSInputStream, NSOutputStream etc
  • Index(es):
    • Date
    • Thread