Fwd: DO and threads [SOLUTION]
Fwd: DO and threads [SOLUTION]
- Subject: Fwd: DO and threads [SOLUTION]
- From: Martin Tauber <email@hidden>
- Date: Fri, 4 Nov 2005 20:42:06 +0100
Thanx Wade, this solved the problem.
Anfang der weitergeleiteten E-Mail:
Von: email@hidden
Datum: 4. November 2005 03:11:18 MEZ
An: Martin Tauber <email@hidden>
Cc: email@hidden
Betreff: Re: DO and threads
2005-11-03 20:28:22.606 cheese[455]
_preInitWithCoder:signature:valid:wireSignature:target:selector:
argCount: 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