user141302
user141302

Reputation:

what is searchdisplaycontroller?

When I give IBOutlet objects in my ViewController, I could not find out them in InterfaceBuilder to link to the object which are in the view.

After some time it comes automatically...(I have set correctly file owner) There is only one I am seeing that is searchDisplayController.

What is it?

Upvotes: 4

Views: 2583

Answers (1)

Swapnil Luktuke
Swapnil Luktuke

Reputation: 10475

I'm not sure what is your exact problem but to answer 'what is searchdisplaycontroller' heres the class reference. It is used to handle search using a search bar. You have probably created an outlet for this in your controller. All the outlets generally do show up immediately after you declare them in you file's owner's header (.h). If you have created some outlet and still don't see it, try closing the xib and opening it again or quit interface builder and reopen.

EDIT: The UIViewController has a UISearchDisplayController as a property. You can read more in the UIViewController's class reference. As your file's owner is a subclass of UIViewController searchDisplayController appears in the inspector.

Upvotes: 2

Related Questions