Re: UISearchDisplayController deprecated or not?
Re: UISearchDisplayController deprecated or not?
- Subject: Re: UISearchDisplayController deprecated or not?
- From: Kyle Sluder <email@hidden>
- Date: Fri, 09 Oct 2015 10:22:30 -0500
On Thu, Oct 8, 2015, at 09:53 PM, Gerriet M. Denkmann wrote:
> I just created a new project: iOS Master-Detail App.
> I added a “Search Bar and Search Display Controller” to the TableView in
> the Master Scene (of which there are two - very confusing).
> iOS Deployment Target is set to 9.0 (ok).
> Build without warnings.
>
> The I asked Xcode 7.0 about UISearchDisplayController and was told:
> “UISearchDisplayController is deprecated in iOS 8.”.
>
> Now I am utterly confused.
> If the documentation is correct: Why does Xcode offer me deprecated
> stuff, and why does the compiler not warn me about this?
IB still needs to offer UISearchDisplayController for apps with a
minimum deployment target of iOS 7. This isn't the first time IB has
continued to offer a deprecated technology, but it would be sensible to
emit a warning for documents with a minimum deployment target of iOS 8
or later.
> Or what is the status of UISearchDisplayController?
UISearchDisplayController is deprecated. Please move to
UISearchController.
Sadly, we don't yet support UISearchController in IB, so you'll have to
set it up in code.
--Kyle Sluder
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden