Re: Distributed Objects: problem with bycopy not working as expected
Re: Distributed Objects: problem with bycopy not working as expected
- Subject: Re: Distributed Objects: problem with bycopy not working as expected
- From: Grigory Entin <email@hidden>
- Date: Tue, 25 Jan 2005 02:00:48 +0300
Hi Charles,
Probably the problem is that "bycopy" does nothing outside a *formal
protocol*. You just have to declare that formal protocol so that the
ensure that passed object conforms to the protocol.
Qutoing "The Objective C Programming language":
>>
So that programmers can give explicit instructions about the intent of
a remote message, Objective-C defines six type qualifiers that can be
used when declaring methods inside a formal protocol:
oneway
in
out
inout
bycopy
byref
These modifiers are restricted to formal protocols; they can’t be used
inside class and category declarations. However, if a class or
category adopts a protocol, its implementation of the protocol methods
can use the same modifiers that are used to declare the methods.
>>
Regards,
Grigory
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden