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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T14:01:12+00:00 2026-05-31T14:01:12+00:00

I am making an application solely for the purpose of learning more objective c.

  • 0

I am making an application solely for the purpose of learning more objective c. This application basically takes a user to a modal view and then gives the user options (uibuttons) to click. When a user taps a button, the modal view is dismissed and I would like to take the data taken from that button (whether it’s the title of the button, tag, etc, whichever is easiest to use) and store it as a variable in my main view. I have tried using an extern NSString defined in a seperate .h file, but no luck. What am I missing?

  • 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-31T14:01:14+00:00Added an answer on May 31, 2026 at 2:01 pm

    You have to go through delegate pattern in iOS.

    You can pass the value back to the main view using delegate methods.

    Apple documentation on Protocols.

    Example using Protocol

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

Sidebar

Related Questions

I am making an application where the user is prompt at some point to
I am making an application to display music in an iTunes like view. It
Im making an application that uses of API-threads in C, The program takes N-files
I making web application for iphone user. I have HTML table structure inside asp.net
I am making an application. Now what i want is that whenever user Press
I have started learning titanium framework.I was making application into iphone.I have made application
Im making an application where i want to provide the user with the ability
i am making an application in which am creating 5 tabbars in iDocViewController view.
I'm making an application that analyses one or more series of data using several
I'm making desktop application (lets call it app) which uses database (mysql). More app's

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.