Help help, I need someone to show me how to add a search bar.

Gamer1992Gamer1992 Member Posts: 83
edited November -1 in Working with GS (Mac)
Hi there, I'm creating an app which is like a dictionary app, so I want to add a search bar where people can type in words and search for words that they want, how can I do that?

Comments

  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    Hi lenicstudio; an interesting problem which I've been giving a bit of thought to. For certain, this would be relatively straightforward in something like a BASIC language for instance, but personally I don't think GS has got the necessary capabilities for what you're after.

    The main aspect which stops it at the start gate, as it were, is that there's no way in GS to get the inputted word as a string - or in GS language, no way to put the inputted word into the value of a Text attribute while the app is live - so as to compare it to all your words (as Text Attributes) of your dictionary. Sorry to disappoint.
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    I don't think this is possible in GS. Once the keyboard is available it might work
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    jonmulcahy said:
    I don't think this is possible in GS.

    Yup, that's what I wrote.

    Jon, still not even with an iOS keyboard, because of the reason I gave previously. If you think otherwise, I'd be interested how you think it would work, for interest?
  • FF1FF1FF1FF1 Member Posts: 75
    Isn't there something you can do, which makes you choose, if contains or is ? and using attributes with pictures for a keyboard or something? would be very long winded?

    Just a thought :)
Sign In or Register to comment.