• 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: Dragging a header file to XIB Dock
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dragging a header file to XIB Dock


  • Subject: Re: Dragging a header file to XIB Dock
  • From: Jonathan Hess <email@hidden>
  • Date: Wed, 30 Jul 2008 21:47:00 -0700

Hey Nelson -

The only time you should have to drag a header file to IB is if that header is used by your project, doesn't come from the system, and is not in your project either. A header in a second project that your main project depends on would be an example of this. Otherwise, if you're just working with classed defined in your main/only project, you shouldn't have to drag any headers. Just grab an instance of the appropriate class (probably NSObject) from the Interface Builder Library, deposit it in your document, and set the custom class in the identity inspector.

Interface Builder automatically synchronizes all of your header files with Xcode -
Jon Hess


On Jul 29, 2008, at 7:39 PM, Nelson Hazeltine wrote:


I am new to IB and Cocoa.

When I drag and drop a header file containing interface information to the XIB dock, it doesn't work, i.e., nothing happens. As near as I can tell, the header file is okay. I am wanting to get the the object browser.

Any suggestions?
_______________________________________________

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

_______________________________________________

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


References: 
 >Dragging a header file to XIB Dock (From: Nelson Hazeltine <email@hidden>)

  • Prev by Date: Re: Document based initial window.
  • Next by Date: Making child windows move with their parents
  • Previous by thread: Re: Dragging a header file to XIB Dock
  • Next by thread: Multithreaded file read
  • Index(es):
    • Date
    • Thread