Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dragging a header file to XIB Dock



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.