Method declaration conflict with NSURLConnection.
Method declaration conflict with NSURLConnection.
- Subject: Method declaration conflict with NSURLConnection.
- From: "Czarny, Eric" <email@hidden>
- Date: Wed, 11 Feb 2004 15:00:02 -0500
I'm writing an XML-RPC framework that follows a request, connection,
response pattern. The developer creates the request, supplies a connection
with a request, then returns a response. A lot of the inner workings of
these classes rely on the NSURLRequest and NSURLConnection classes. All is
fine until, however, I create an instance of my connection class. It just so
happens that my connection class and the NSURLConnection class have the same
init method, with slight differences...
- (id)initWithRequest: (XMLRPCRequest *)request delegate: (id)delegate;
I wouldn't think this should be a problem, but it is. When I write code that
uses this class, and initializes it, the compiler thinks I am making a call
to NSURLConnection's method, not my own. A strange behavior, considering
everything has been declared properly, and I'm not doing anything crazy. I
don't know what the problem could be, any ideas?
Regards,
Eric Czarny
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.