[mac/iPhone src] PRHPerformOnMainThread

3 views
Skip to first unread message

Peter Hosey

unread,
Feb 14, 2010, 2:37:42 AM2/14/10
to Mac Free Source Announcements
This category on NSObject makes it easy to perform messages on the
main thread:

[[obj performOnMainThread_PRH] receiveAnswer:42];

It currently provides no option to wait until done.

I have not tested this on the iPhone, but as far as I know, it should
work just fine on it.

https://bitbucket.org/boredzo/prhperformonmainthread-category/

Reply all
Reply to author
Forward
0 new messages