• 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: iPhone search of my app's data?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iPhone search of my app's data?


  • Subject: Re: iPhone search of my app's data?
  • From: WT <email@hidden>
  • Date: Sun, 21 Mar 2010 19:36:58 +0100

You can always slide the search field into the window, below the navigation bar, while pushing (or, perhaps, vertically resizing) the table view. If you set the auto-resizing properties of the table view correctly, more than half of the work is already done. The only remaining question is one of usability: how do you let the user know that search functionality is available?

One way is this: when the user scrolls the table view (by swiping vertically downward or by flicking in that direction) and the table view's top row becomes visible, you can slide the search field in as if it was another row. The user will have the impression that it's a single, seamless, action. Scrolling in the opposite direction then slides the search field away.

Another way is hidden but, once known, quite effective: when the user taps-and-holds the screen, the search field slides in after a short delay, and stays there until the user dismisses it in the same way, or through actually searching for something.

On Mar 21, 2010, at 7:09 PM, William Squires wrote:

> Hi all!
>  Okay, I've mostly finished my (in-house-only) corporate phone-book app; just needs a few tweaks now.
>  My app is a navigation-based application with a single UITableView for the main view, with "Edit" and "+" (add) buttons on the nav-bar on top, so there's no room to put a search field there. What's the best way to provide for a search?
>
> 1) put another button (is it even possible?) on the nav-bar that takes the user to a "search" view, or
> 2) try to make use of the iPhone's built-in search capability somehow? If so, could someone please email me the link to Apple's on-line docs for this, and cc it to email@hidden, also?
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: iPhone search of my app's data?
      • From: Kyle Sluder <email@hidden>
References: 
 >iPhone search of my app's data? (From: William Squires <email@hidden>)

  • Prev by Date: Re: NSPredicate to exclude specific elements??
  • Next by Date: Re: UITable Views and display lags / NSOperation vs NSURLConnection
  • Previous by thread: iPhone search of my app's data?
  • Next by thread: Re: iPhone search of my app's data?
  • Index(es):
    • Date
    • Thread