Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 658365
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T22:55:32+00:00 2026-05-13T22:55:32+00:00

I would like to have a UITextField or UITextView in where as I do

  • 0

I would like to have a UITextField or UITextView in where as I do some input, alternatives will appear something similar to when you type an address in Mail Application, alternatives appear down and is possible tap them so get a better input user interface.(since there is no need to type the complete word or address or phone number)

I do know how to fetch data from Address Book framework, also how to input text in UITextField/UITextView and its delegates but I don’t know what kind of structure to use for fetching and showing data as the user do his/her input.

I know basic CoreData if this matters,

I hope I can get some help.

UPDATE (2010/3/10):
I don’t have problem make a native-like GUI but I am asking about the algorithm, does any body knows what kind algorithm is best for this thing? maybe some binary tree?
Or should I just fetch data from coredata everytime?

Thanks

Ignacio

UPDATE (2010/03/28):
I’ve been very busy these days, so I have not tried UISearchResults but it seems fine to me. BUT I wonder was there a necessity of deletion of the wining answer? I don’t think is fair my reputation went down and couldn’t see the winning answer. ;(

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T22:55:32+00:00Added an answer on May 13, 2026 at 10:55 pm

    You don’t need some advanced algorithm to do this kind of thing… if you want to search the address book, then you can do so each time the user types in a character (or however frequent you need to seach). To do this, just take a look at the UISearchDisplayController class. I learned how to do almost the exact thing by looking at Apple’s TableSearch sample app.

    That app searches a list of objects using different fields (All, Device, Desktop, Portable)… so you could adapt it to Address Book fields (First Name, Last Name, Address…). The only thing you need to change is the search within the Address Book. I don’t know exactly what your requirements ask for but this should be what you need to get it done. If you have any trouble with the code let me know… but this example really helped me, so hopefully it works for you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an UITextField and I would like that for every tap on a
I have a UITextField that I would like to enable auto completion on by:
I would like to add an input accessory view to a UITextField while it
So in my project i would like have a nice treeview that has images.
I would like to have a Windows 2003 server fire a script to fire
I would like to have a QMainWindow that can change it's look at runtime,
I would like to have Ajax form in Rails so i'm using form_remote_tag. The
I would like to have the keyboard already displaying when I show my view.
I would like to have an .emacs setting so that tabs are always formed
I would like to have an explicit cast between from a string to an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.