Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development > iPhone SDK Development - Advanced Discussion

Reply
 
LinkBack Thread Tools Display Modes
Old 03-24-2011, 12:35 PM   #1 (permalink)
Registered Member
 
Join Date: May 2010
Location: Woking, UK
Posts: 7
stewd is on a distinguished road
Send a message via MSN to stewd Send a message via Skype™ to stewd
Default Drop down text As Typing

Hi,

I've been trying to create a part of an app, that when you start to type a word between two " the app will start to show recomened suggestions, same as spotlight search does,

For Example,

If I type Word word "w "

I would like under the "W" 'word' to display, and be selectable.



Cheers'


Stewart,
stewd is offline   Reply With Quote
Old 03-24-2011, 08:32 PM   #2 (permalink)
Crafty Veteran
 
Magic Hands's Avatar
 
Join Date: Nov 2008
Location: Memphis, TN
Age: 23
Posts: 436
Magic Hands is on a distinguished road
Send a message via Skype™ to Magic Hands
Default

You will have to create a search algorithm with a large database of words. Search through the words and see which matches most accurately. Good luck ;-)
__________________
Magic Hands is offline   Reply With Quote
Old 03-28-2011, 06:02 AM   #3 (permalink)
Registered Member
 
Join Date: May 2010
Location: Woking, UK
Posts: 7
stewd is on a distinguished road
Send a message via MSN to stewd Send a message via Skype™ to stewd
Default

Quote:
Originally Posted by Magic Hands View Post
You will have to create a search algorithm with a large database of words. Search through the words and see which matches most accurately. Good luck ;-)
Cheers thank you,

Yea it'll be a big word-bank,

Also into the search algorithm would I just build in a way so it only activates when "<" is typed in, then deactivates when ">" is written,
stewd is offline   Reply With Quote
Old 03-29-2011, 05:43 PM   #4 (permalink)
Crafty Veteran
 
Magic Hands's Avatar
 
Join Date: Nov 2008
Location: Memphis, TN
Age: 23
Posts: 436
Magic Hands is on a distinguished road
Send a message via Skype™ to Magic Hands
Default

You wouldn't need a "<" or a ">". Only check for spaces. If the user is typing then hits space you know the word is done and to remove the drop down menu. As soon as they start typing a again bring it back up. I hope that answers your question.
__________________
Magic Hands is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 383
14 members and 369 guests
baja_yu, checkright, Duncan C, epaga, fvisticot, Meoz, mer10, Newbie123, Objective Zero, Punkjumper, reficul, rraagg, sacha1996, skrew88
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,642
Threads: 94,110
Posts: 402,857
Top Poster: BrianSlick (7,990)
Welcome to our newest member, pinacate
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 04:29 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0