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: Pointing in the right direction for an XCode 3 pref pane.



Hi again,

Sorry, in my naivité I had expected the drag and drop to do more, but having just created a new NSObject in IB and pointed at the wopolpref class I now discover that it dragging and dropping has done the trick.

Thank you very much!

Adam
On Oct20, 2008, at 1:59 AM, Nick Zitzmann wrote:


On Oct 19, 2008, at 9:33 AM, Adam Penny wrote:

Having constructed a preference subclass with the appropiate outlets corresponding to those I've placed in the nib file, I'm getting an NSObject and setting it's class to the preference pane subclass with my outlets in it, but this seems to be giving me an unexpected choice of outlets when I'm trying to connect them. I was hoping to see the outlets broadcastIP, printers and servers. Instead I see _FirstKeyView, _InitialKeyView, _LastKeyView window and New Referencing Outlet. Am I supposed to use something other than an NSObject when it's a preference pane in order to make connections?


Have you tried manually loading the header into IB by dragging the file onto the nib window? IB is supposed to automatically loads headers, but sometimes it doesn't.

Nick Zitzmann
<http://www.chronosnet.com/>




_______________________________________________

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: 
 >Pointing in the right direction for an XCode 3 pref pane. (From: Adam Penny <email@hidden>)
 >Re: Pointing in the right direction for an XCode 3 pref pane. (From: Nick Zitzmann <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.