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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T16:50:03+00:00 2026-06-03T16:50:03+00:00

I want to create the functionality from below image In this image there are

  • 0

I want to create the functionality from below image

enter image description here

In this image there are buttons ‘A’,’A’,’C’,’E’ etc.

Now on click of this button I want the text of that button in the first blank box and then after clicking another button i want the text of that button on the 2nd blank box.

How can I implement this kind of functionality.

Any Idea?

  • 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-03T16:50:05+00:00Added an answer on June 3, 2026 at 4:50 pm

    let those buttons ‘A’,’A’,’C’,’E’ etc shares a common action method like

    -(void)blueButtonClick:(id)sender {
    
        UIButton* blueButton = (UIButton*)sender; // we got the button reference here whichever is clicked
    
        // suppose those white box is a UITextField
    
        if([self.textField1.text length] == 0){
            self.textField1.text = blueButton.currentTitle;
        } else if([self.textField2.text length] == 0) {
            self.textField2.text = blueButton.currentTitle;
        } else if([self.textField3.text length] == 0) {
            self.textField3.text = blueButton.currentTitle;
        } else if([self.textField4.text length] == 0) {
            self.textField4.text = blueButton.currentTitle;
        } else if([self.textField5.text length] == 0) {
            self.textField5.text = blueButton.currentTitle;
        } else {
            NSLog(@" I am full now .... Sorry !!");
        }
    
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i want create image animation , i have 50 images with png format now
starting from the rails blog tutorial, i want to have listing and create functionality
I want to create a website that allow customer to order food from the
I want to create a zoomable draggable etc. map of a really big image,
I want to create a stored procedure (on SQL Server 2005) that fetches a
I want to create conditional comments in XSLT. But when I use this: <!--
Ultimately I want to create a desktop app that allows users to update their
i want to create configurable product through programming how we can create this? I
Suppose I want to create a set of observers based on type. That is
I have a function that gets a video item from youtube, below is the

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.