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 8541411
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T11:49:32+00:00 2026-06-11T11:49:32+00:00

its the annoying noob again! So I was trying to develop a small app

  • 0

its the annoying noob again!

So I was trying to develop a small app to check files on a folder.

The text field is your search field.

You have a picker view with 3 options

Folder A

Folder B

Search on Google.

I’ve got a question:

1: How do I connect the search field and the pick that the user chose to a button so when the user clicks the button, lets say the button searches the users input on google?

I’ve made the application for 2 views.

One where the user inputs the information and the other to display that information.

My code is going something like this..

- (IBAction)buttonSearch:(id)sender {


self.userSearch = self.searchField.text; ///Users input on the search field

NSString *searchString = self.userSearch;

///I know Im missing the connection to the button with the pickView, how could I do that too?////


///Here should be something like go to google(or whatever choice the user made on pickview) and put the string on the search bar and hit search/// <---How do I do this too..? *****



}
@end

Thanks for the help, I know its a pain to answer such stupid questions…. :/
Have a nice day!

  • 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-06-11T11:49:33+00:00Added an answer on June 11, 2026 at 11:49 am

    If you’re using interface builder to create your view make sure to create IBOutlets for the textfields/pickers/etc. so that you can get their values.

    @property (nonatomic, strong) IBOutlet UITextfield *myTextField;
    

    Now in interface builder right click your text field and select “NewReferencingOutlet” and drag to “File’s Owner” you should see “myTextField” as an option. Once that is attached you can then get the value of the text field like this.

    self.myTextField.text
    

    It will be similar for the pickerView except instead of UITextField you will use UIDatePIcker or something similar…

    Hope that helps 😉

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

Sidebar

Related Questions

Its tedious to always check your bank account website for new monthly statements. (They
its really frustrated me over 3days, I've check everything and it works just fine.
Its quite annoying. Example: private const string someUrl = http://foo.com; I don't want the
I know its a bit too early, but I've been trying out Go (Google's
I'm using this page that has a very annoying alert(its typical JavaScript alert, so
So I keep getting this annoying error on multiple servers(its a warning, so I'd
Its quite annoying sometimes when you have no authentic sources to confirm if particular
Probably another basic question but its been annoying me for a while now... I
It's rather annoying: Windows Forms controls don't look or feel native; they don't glow/fade
I've run into a really annoying problem, and I'm hoping it's just a setting

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.