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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T03:49:24+00:00 2026-05-21T03:49:24+00:00

Why am I getting the above compilation error in all of my source files

  • 0

Why am I getting the above compilation error in all of my source files after creating editing this file:

#import <UIKit/UIKit.h>

@protocol FlipsideViewControllerDelegate;


@interface FlipsideViewController : UIViewController {
    id <FlipsideViewControllerDelegate> delegate;
    UITextField *textField;
}
@property (nonatomic, retain) IBOutlet UITextField *textField;


@property (nonatomic, assign) id <FlipsideViewControllerDelegate> delegate;
- (IBAction)done:(id)sender;
@end


@protocol FlipsideViewControllerDelegate
- (void)flipsideViewControllerDidFinish:(FlipsideViewController *)controller;
@end

-(IBAction) textChanged:(id) sender;

After editing my flipsidecontroller.h to look like this. I get the error in all of my other source files. Like this one:

    //  MainViewController.h
//  MVC
//
//  Created by Nick Martin on 3/31/11.
//  Copyright 2011 Nick. All rights reserved.
//

#import "FlipsideViewController.h"

@interface MainViewController : UIViewController <FlipsideViewControllerDelegate> {
    UILabel *label;
}

@property (nonatomic, retain) IBOutlet UILabel *label;

- (IBAction)showInfo:(id)sender;

@end

It is complaining about the interface declaration for each of my controllers???

Thanks in advance for the help!

Update – put the textChanged event into the interface

//  FlipsideViewController.h
//  MVC
//
//  Created by Nick Martin on 3/31/11.
//  Copyright 2011 Nick Martin. All rights reserved.
//

#import <UIKit/UIKit.h>


@protocol FlipsideViewControllerDelegate;


@interface FlipsideViewController : UIViewController {
    id <FlipsideViewControllerDelegate> delegate;
    UITextField *textField;
}
@property (nonatomic, retain) IBOutlet UITextField *textField;


@property (nonatomic, assign) id <FlipsideViewControllerDelegate> delegate;
- (IBAction)done:(id)sender;
@end

-(IBAction) textChanged:(id) sender;  //DOH!!! 

@protocol FlipsideViewControllerDelegate
- (void)flipsideViewControllerDidFinish:(FlipsideViewController *)controller;
@end
  • 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-21T03:49:25+00:00Added an answer on May 21, 2026 at 3:49 am

    Your textChanged: method isn’t in an interface or protocol. Did you mean to include it in FlipsideViewController or FlipsideViewControllerDelegate?

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

Sidebar

Related Questions

I'm getting the above error using the latest KnockoutJS library using v1.3.0beta. However, this
Getting the above error in following code. How to rectify it. Thanks. Please look
I am getting the above error in my VS 2008 C# method when I
I keep getting tasks that are above my skill level. How can I address this without coming accross as grossly incompetent?
Getting this error: 2009-09-03 12:44:02.307 xcodebuild[307:10b] warning: compiler 'com.apple.compilers.llvm.clang.1_0.analyzer' is based on missing compiler
Getting a rendering error for this form: 'NoneType' object has no attribute 'widget' http://dpaste.com/88585/
I am getting above error what can be the possible reasons for it ?
I keep getting this puzzling error upon invocation of a one-way callback to a
I'm trying to have an auto reversing animation, and am getting the above error
TypeError: unsupported operand type(s) for /: 'tuple' and 'tuple' I'm getting above error ,

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.