• 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: Distributed Objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Distributed Objects


  • Subject: Re: Distributed Objects
  • From: Kyle Sluder <email@hidden>
  • Date: Mon, 27 Aug 2012 09:17:40 -0700

On Aug 27, 2012, at 9:10 AM, "Gerriet M. Denkmann" <email@hidden> wrote:

>
> On 27 Aug 2012, at 22:49, Kyle Sluder <email@hidden> wrote:
>
>> On Aug 27, 2012, at 8:23 AM, "Gerriet M. Denkmann" <email@hidden> wrote:
>>
>>>
>>> "new" is documented as "Allocates a new instance of the receiving class, sends it an init message, and returns the initialized object."
>>
>> Except, you know, the part where -[NSConnection init] is documented to do anything useful. Why not humor me and see if it works correctly if you pass a valid send port to the designated initialiser?
>
>     //NSConnection *theConnection = [[NSConnection alloc] init];
>     //NSConnection *theConnection = [ NSConnection new ];
> 	NSPort *sendPort = [ NSPort port ];

From the documentation:

"NSPort is an abstract class…"

You almost certainly want an NSMachPort here.

--Kyle Sluder
_______________________________________________

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: Distributed Objects
      • From: "Gerriet M. Denkmann" <email@hidden>
References: 
 >Distributed Objects (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Distributed Objects (From: Kyle Sluder <email@hidden>)
 >Re: Distributed Objects (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Distributed Objects (From: Kyle Sluder <email@hidden>)
 >Re: Distributed Objects (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: Re: Distributed Objects
  • Next by Date: Re: Distributed Objects
  • Previous by thread: Re: Distributed Objects
  • Next by thread: Re: Distributed Objects
  • Index(es):
    • Date
    • Thread