• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: UISearchDisplayController deprecated or not?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >UISearchDisplayController deprecated or not? (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: UISearchDisplayController deprecated or not?
  • Next by Date: Basic question on connecting table view to prototype cells
  • Previous by thread: UISearchDisplayController deprecated or not?
  • Next by thread: Basic question on connecting table view to prototype cells
  • Index(es):
    • Date
    • Thread