• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Unable to add classes to IB 3.0
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unable to add classes to IB 3.0


  • Subject: Unable to add classes to IB 3.0
  • From: Charles Hamel <email@hidden>
  • Date: Mon, 5 Nov 2007 18:01:13 +0100

I am fairly new to Cocoa and IB but I have background in other
programming languages. I undertand the MVC Concept and I have a hard
time adding my classes created in XCode in Interface Builder 3.0 under
Leopard.
I have read the Apple "Cocoa Application Guide" and the "Interface
builder user guide". Every one of them tells me that IB3 should be
smart enough to monitor the changes in XCOde and add the appropriate
classes in IB, but it just doesn't, even with a newly created project.
It does not work either if I use the File->Read Class file menu, IB
does nothing, no errors, no console logs, nothing happens.
Same thing happens if I try to drag the .h file from the Xcode project
to IB.
I have lost a lot of time on this simple task, can anybody help me on
this ?
Here is what I am trying to do:
-Create an empty "Cocoa Application" Project in Xcode 3
-Add a file named "AppController.h" which is a sub-class of NSObject


- Ignored:
  -Add 2-3 outlets to AppController
  -Define an action
  -Add the class definition to IB 3.0

  Here is the AppController.h content:
  #import <Cocoa/Cocoa.h>


@interface AppController : NSObject { IBOutlet id imageView; IBOutlet id getImageButton; } - (IBAction) getImage:(id)sender; @end _______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Unable to add classes to IB 3.0
      • From: Dennis Nilsson <email@hidden>
    • Re: Unable to add classes to IB 3.0
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Re: Core Data reserved property names?
  • Next by Date: Re: Unable to add classes to IB 3.0
  • Previous by thread: Re: Core Data reserved property names?
  • Next by thread: Re: Unable to add classes to IB 3.0
  • Index(es):
    • Date
    • Thread