• 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
Re: interface builder "read class files"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: interface builder "read class files"


  • Subject: Re: interface builder "read class files"
  • From: Chris Hanson <email@hidden>
  • Date: Mon, 24 Dec 2007 15:10:51 -0800

On Dec 24, 2007, at 1:05 PM, mikie wrote:

i have a problem adding the class to the interface builder.
when i do "read class files..." from the file menu and then point header file (my_interface_class_with_iboutlets_and_things_like_that.h) to add it, ib doesn't say anything. no error, no "ding" etc. the same is when i drag myheaderfile.h from xcode browser. it doesn't appear in interface builder at all.

Where are you expecting it to appear? I suspect what you expect is that you will get a new instance in your Interface Builder document -- however, what you read in was a *class*, not an *instance*. The distinction is critical in Cocoa development.


To get a new instance in Interface Builder, you drag from the Library. For an instance of a custom class, just drag an NSObject over to your document, and then change its class in the Identity pane of the Inspector.

  -- Chris

_______________________________________________

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: interface builder "read class files"
      • From: mikie <email@hidden>
References: 
 >interface builder "read class files" (From: mikie <email@hidden>)

  • Prev by Date: Re: Do NSSearchFields really send an action up the responder chain when the user clicks the cancel button?
  • Next by Date: Re: interface builder "read class files"
  • Previous by thread: interface builder "read class files"
  • Next by thread: Re: interface builder "read class files"
  • Index(es):
    • Date
    • Thread