Can anyone explain about delegate methods in TwitPic API and tell me the architecture of those delegate methods, I mean which method calls first,second like that.
In my code I have added TwitterRequest
external classes and implemented. When I build my app I am getting message "No response from Delegate". Anyone help me regarding this.
Thanks in advance.
From the code sample in the tutorial you followed, it looks like this message is logged when delegate you passed in doesn't implement the callback selector you also passed in when you made the call to the
TwitterRequest
class.For example, suppose we were making a request to update status:
This code would log the message you're seeing unless
self
implemented the callbackdidUpdateStatus
. (Where self might be a view controller or similar.)I would need to have implemented a method in my view controller something like this:
Check that you've assigned and implemented such a method. Note that this looks to be optional - if you don't want to know if your request succeeded you can either ignore this message, or implement an empty callback such as I have in this example.