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

  • Home
  • SEARCH
  • 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 8917455
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T05:29:13+00:00 2026-06-15T05:29:13+00:00

I have five text boxes that are subclassed views that cycle values from an

  • 0

I have five text boxes that are subclassed views that cycle values from an array when touched. They are all blank to start off with.

If the box receives a value of @"\u2714"I want to fill the others automatically with N/A.

What ive tried so far dosent change the the text box values when @"\u2714" is received. Not sure what im doing wrong here?

here is my nsarray: //self.valuesArray = [NSArray arrayWithObjects:@"\u2714", @"X", @"LIM", @"N/A", nil];

If I set the string to any of the values from the array, the text boxes do not populate with N/A. If I set the isEqualToString:sting to @"" I can get my text box values to all default to N/A, but not based on any inputs from when cycling through the array

    self.tncsTapView.textValue = ([self attributeWithName:@"systemTypeTncs"]).value;
    if ([self.tncsTapView.textValue isEqualToString:@"X"]){
    self.tncTapView.textValue = @"N/A";
    self.tnsTapView.textValue = @"N/A";
    self.itTapView.textValue = @"N/A";
    self.ttTapView.textValue = @"N/A";
    }
    self.tnsTapView.textValue = ([self attributeWithName:@"systemTypeTns"]).value;
    if ([self.tnsTapView.textValue isEqualToString:@""]){
    self.tncsTapView.textValue = @"N/A";
    self.tncTapView.textValue = @"N/A";
    self.itTapView.textValue = @"N/A";
    self.ttTapView.textValue = @"N/A";
    }
    self.tncTapView.textValue = ([self attributeWithName:@"systemTypeTnc"]).value;
    if ([self.tncTapView.textValue isEqualToString:@""]){
    self.tncsTapView.textValue = @"N/A";
    self.tnsTapView.textValue = @"N/A";
    self.itTapView.textValue = @"N/A";
    self.ttTapView.textValue = @"N/A";
    }

    self.itTapView.textValue = ([self attributeWithName:@"systemTypeIt"]).value;
    if ([self.itTapView.textValue isEqualToString:@""]){
    self.tncTapView.textValue = @"N/A";
    self.tnsTapView.textValue = @"N/A";
    self.tncsTapView.textValue = @"N/A";
    self.ttTapView.textValue = @"N/A";
    }

    self.ttTapView.textValue = ([self attributeWithName:@"systemTypeTt"]).value;
    if ([self.ttTapView.textValue isEqualToString:@""]){
    self.ttTapView.textValue = @"N/A";
    self.tnsTapView.textValue = @"N/A";
    self.itTapView.textValue = @"N/A";
    self.tncsTapView.textValue = @"N/A";
    }




    self.tncsTapView.textValue = ([self attributeWithName:@"systemTypeTncs"]).value;
    if ([self.tncsTapView.textValue isEqualToString:@"\u2714"]){
    self.tncTapView.textValue = @"N/A";
    self.tnsTapView.textValue = @"N/A";
    self.itTapView.textValue = @"N/A";
    self.ttTapView.textValue = @"N/A";
    }
    self.tnsTapView.textValue = ([self attributeWithName:@"systemTypeTns"]).value;
    if ([self.tnsTapView.textValue isEqualToString:@"\u2714"]){
    self.tncsTapView.textValue = @"N/A";
    self.tncTapView.textValue = @"N/A";
    self.itTapView.textValue = @"N/A";
    self.ttTapView.textValue = @"N/A";
    }
    self.tncTapView.textValue = ([self attributeWithName:@"systemTypeTnc"]).value;
    if ([self.tncTapView.textValue isEqualToString:@"\u2714"]){
    self.tncsTapView.textValue = @"N/A";
    self.tnsTapView.textValue = @"N/A";
    self.itTapView.textValue = @"N/A";
    self.ttTapView.textValue = @"N/A";
    }

    self.itTapView.textValue = ([self attributeWithName:@"systemTypeIt"]).value;
    if ([self.itTapView.textValue isEqualToString:@"\u2714"]){
    self.tncTapView.textValue = @"N/A";
    self.tnsTapView.textValue = @"N/A";
    self.tncsTapView.textValue = @"N/A";
    self.ttTapView.textValue = @"N/A";
    }

    self.ttTapView.textValue = ([self attributeWithName:@"systemTypeTt"]).value;
    if ([self.ttTapView.textValue isEqualToString:@"\u2714"]){
    self.ttTapView.textValue = @"N/A";
    self.tnsTapView.textValue = @"N/A";
    self.itTapView.textValue = @"N/A";
    self.tncsTapView.textValue = @"N/A";
    }
  • 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-15T05:29:14+00:00Added an answer on June 15, 2026 at 5:29 am

    A backslash in an NSString is represented by two consecutive backslashes. In all your if statements, try the following:

    if ([self.tncsTapView.textValue isEqualToString:@"\\u2714"])
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have Five check boxes Search All Template 1 Template 2 Template 3 Template
I have created a five column (text boxes) cell (row) in table view controller
I have five text files that are produced by an R program, (each of
I have five text files that need to be loaded into memory. I set
I have five buttons on one form that when clicked enables a bool each
I have five activities/screens that I would like to be able to swipe between,
I have five tables that are fairly similar in structure but different enough that
I have below five Integer variables and during the program, they are assigned some
So I have these five buttons that I want to be always present in
I have a rather large text file that has a bunch of missing newlines,

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.