Re: DO and threads
Re: DO and threads
- Subject: Re: DO and threads
- From: email@hidden
- Date: Fri, 4 Nov 2005 13:11:18 +1100
2005-11-03 20:28:22.606 cheese[455]
_preInitWithCoder:signature:valid:wireSignature:target:selector:argCou
nt: incompatible method params: got NSMethodSignature: types=v@:I
nargs=3 sizeOfParams=160 returnValueLength=0; want
NSMethodSignature: types=Vv@:I nargs=3 sizeOfParams=160
returnValueLength=0;
Well, as you can see, the method signature you're looking for [on the
client side] has types=v@:I, while the one the server's got
implemented has types=Vv@:I. You can check out <http://
developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/
RuntimeOverview/chapter_5_section_6.html> for info on Type Encodings.
In short, the capital V stands for oneway. That you don't have it in
your caller indicates your caller isn't getting the method definition
right... you have specified oneway in the class interface, right, not
just the implementation?
[As an aside, since you can only have oneway void methods, isn't the
trailing little-v redundant?]
Wade Tregaskis
ICQ: 40056898
AIM, Yahoo & Skype: wadetregaskis
MSN: email@hidden
iChat & email: email@hidden
Jabber: email@hidden
Google Talk: email@hidden
http://homepage.mac.com/wadetregaskis/
-- Sed quis custodiet ipsos custodes?
_______________________________________________
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