method used as handler

IN shane’s book on chapter 13, he mentions a possible use of the below mentioned methods. Could someone help me find the class reference to which they belong.

using performSelectorInBackground:withObject:, and

performSelectorOnMainThread:withObject:waitUntilDone:.

Thanks,
t.

If you just type those into the documentation search box, you should get them (they’re in NSObject by the way).

Ric

Yes, you should look in the docs, both can be used in different context. The docs will guide you towards the right one. There is plenty of examples in these forums for both of them, too. Let us know if you get stuck. :slight_smile:

Model: MacBookPro8,2
Browser: Safari 534.51.22
Operating System: Mac OS X (10.7)