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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T06:32:01+00:00 2026-05-29T06:32:01+00:00

Just had a question regarding the UILabel class. I know that the UITextField control

  • 0

Just had a question regarding the UILabel class. I know that the UITextField control has a delegate for when the editing has changed, but I was wondering if the UILabel has a similar field. The reason I ask is that my application queries the network for when certain pieces of information change and updates them accordingly and I don’t want to hard code in my update the name of the label I want to watch for just to do a small task regarding it. If it has a delegate or something equivalent to it so that my class can monitor for this information that would be great.

If not then any advice would be greatly appreciated.

  • 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-29T06:32:03+00:00Added an answer on May 29, 2026 at 6:32 am

    You can use KVO to find out or perform some code when the text changes like this :

    [somelabel addObserver:self forKeyPath:@"text" options:NSKeyValueObservingOptionNew context:NULL];
    

    and then listen for the changes like this

    - (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context {
    
        NSLog(@"the text changed");
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just a simple question: if I had a simple vector class: class Vector {
I just had a quick question regarding loops in Ruby. Is there a difference
I've just had a nagging question for a while regarding iPhone app user interfaces.
I am going to paste a code here and had a question regarding that
I know a lot of question regarding VB6 migration have been asked, but I
There is a similar question here but regarding the class path. ClassNotFoundException com.mysql.jdbc.Driver I've
I had earlier posted a question, regarding same, but over here i want guidance
I had a question regarding the use of asterisks in Objective-C. Just to be
I just had a question about aligning two expand-collapse boxes and got an answer
just had a general question about how to approach a certain problem I'm facing.

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.