On Dec 8, 2010, at 8:58 AM, Jonathan Schmidt wrote: > The second NIB > DOES have a search bar, but it doesn't display at runtime.
But we are agreed that this has nothing to do with the search display controller, right? That was just a red herring in your original email? In other words, what I'm trying to ascertain is that your question is really just this: You tap-tap to get the second view into the nav interface, and when it appears, it consists of a table view but no search bar. If that is the question, then the reason is that that's how your view controller is set up. The fact that a search bar is somewhere floating around in a nib is irrelevant. What's important is what view the view controller controls. If the view controller's view is a table view, that is what you'll see. If the view controller's view is a view containing a search bar and a table view, that is what you'll see. A common mistake, by the way, is this: Your view controller is a table view controller, and you misconfigure it so that it doesn't load any nib at all. You think you are loading a nib, but you aren't. The table view controller then by default creates its own table view. So the table view you end up seeing is not the table view in the nib. This has fooled many people (including me). m. -- matt neuburg, phd = [email protected], http://www.tidbits.com/matt/ pantes anthropoi tou eidenai oregontai phusei Among the 2007 MacTech Top 25, http://tinyurl.com/2rh4pf AppleScript: the Definitive Guide, 2nd edition http://www.tidbits.com/matt/default.html#applescriptthings Take Control of Exploring & Customizing Snow Leopard http://tinyurl.com/kufyy8 RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html TidBITS, Mac news and reviews since 1990, http://www.tidbits.com _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
