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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T04:35:40+00:00 2026-05-30T04:35:40+00:00

Hey I’m trying to make a clear button for my polish calculator.. code give

  • 0

Hey I’m trying to make a clear button for my polish calculator.. code give me this error when executing the clear button

unrecognized selector sent to instance 0x6a6e1e0′

there is a button in the interface builder linked to clearBtn

this code is in the CalculatorViewController.m
display is linked to the UILabel
and..
heres the code

- (IBAction)clearBtn
{
if (self.userIsInTheMiddleOfEnteringANumber) {
[[self display] setText:@"0"];
[self setUserIsInTheMiddleOfEnteringANumber:NO];
}    

}

- (IBAction)clearAllBtn //this button works fine.. 
{
[[self brain] clearAll];   // the brain class has a method to set the array to nill
[[self display] setText:@"0"];
[self setUserIsInTheMiddleOfEnteringANumber:NO];
}
  • 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-30T04:35:41+00:00Added an answer on May 30, 2026 at 4:35 am

    Thanks for posting the code. Generally, unrecognized selector errors are not tough, but we need to know which line of code is triggering it, which will help us understand which object is receiving the message, and what the selector is. Can you post a dump of the error messages?

    Read about Objective-C selectors here.

    Generally speaking, Interface Builder is a great tool for… umm, building interfaces. But you do have to be careful about connections and making sure everything is still linked up after making changes to your code or layout.

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

Sidebar

Related Questions

Hey I am getting this error: error: conversion to non-scalar type requested Here are
hey guys I have the follow code in js: $(document).ready(function(){ $(.replyLink).click(function(){ $(#form-to-+this.id).html(htmlForm()).toggle(500); return false;
Hey I am getting index out of bounds error in my code. From Activity:
Hey guys I'm running this code in Android: public ServiceServer(String serverName) { this.serverName =
Hey, I'm trying to get the source code of an app similar to the
Hey! I am trying to get ant installed and actually already did following this
Hey all, I'm using this code to change my sIFR (version 3) H1 and
Hey guys I'm getting a syntax error on my CONCATS for some reason, this
Hey all, my Computational Science course this semester is entirely in Java. I was
Hey all. Newbie question time. I'm trying to setup JMXQuery to connect to my

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.