lled on background thread!" );
[delegate tellMe];
}
interesting option, though more code to type in :)
Perhaps someone has a better alternative.
tyler
(none of this code has been compiled, just typed in for illustrative
purposes)
___
Coc
Usually delegates are weak references and not retained to avoid retain
cycles or loops.
Sent from my phone
On Aug 28, 2009, at 2:36 PM, Rick Mann wrote:
I have a similar issue when trying to retain and release the
delegate (which I think can sometimes be avoided but should be used
for st
Sorry,
NSObject* delegate;
Note the *
Sent from my phone
On Aug 28, 2009, at 2:36 PM, Rick Mann wrote:
I'm trying to implement a delegate pattern in my code, where the
delegate conforms to a formal protocol. But when I make the delegate
ivar id and try to send it
performSelectorOnMainT
Use NSObject. Instead of id<...>
Sent from my phone
On Aug 28, 2009, at 2:36 PM, Rick Mann wrote:
I'm trying to implement a delegate pattern in my code, where the
delegate conforms to a formal protocol. But when I make the delegate
ivar id and try to send it
performSelectorOnMainThread:.
Hi Everybody,
I am reposting this since I haven't got any answers, yet.
Hope somebody helps this time around.
I am writing an easy chat application. I have an object of NSTextview on my UI
form. I want to change the text color in a specified range from default color
black to red. I used the met
Hi Everybody,
i am writing an easy chat application. i have an object of NSTextview on my UI
form. i want to change the text color in a specified range from default color
black to red. i used the method "setTextColor:range:" but it did not work.
following is my declaration of the object and the