FROM : Lance Saleme
DATE : Fri Apr 22 19:52:10 2005
Setting the file owner is amazingly simple, yet amazingly obscure
(couldn't even find it in the docs, but that may just be my missing
something obvious).
- Drag your controller header file to the NIB.
- Select the File Owner instance (single click)
- Choose the Custom Class (Cmd-5) and find your controller class
- Select your controller class
Save, finish your connections, etc.
That's it,
Lance
On Apr 22, 2005, at 10:34 AM, Mark Dawson wrote:
> I've created my first new nib in IB, and I seem to be missing some
> important step: while I've dragged my "PreferencesWindowController.h"
> file on top of the "FileOwner" icon (or just that window), and I see
> it in the classes structure
> (NSObject->NSResponder->NSWindowResponder), when I click on the icon,
> the "outlets" connection (inspector window) is empty. What am I
> supposed to do to get outlets to show up?
>
> Thanks,
>
> Mark
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/
> <email_removed>
>
> This email sent to <email_removed>
>
DATE : Fri Apr 22 19:52:10 2005
Setting the file owner is amazingly simple, yet amazingly obscure
(couldn't even find it in the docs, but that may just be my missing
something obvious).
- Drag your controller header file to the NIB.
- Select the File Owner instance (single click)
- Choose the Custom Class (Cmd-5) and find your controller class
- Select your controller class
Save, finish your connections, etc.
That's it,
Lance
On Apr 22, 2005, at 10:34 AM, Mark Dawson wrote:
> I've created my first new nib in IB, and I seem to be missing some
> important step: while I've dragged my "PreferencesWindowController.h"
> file on top of the "FileOwner" icon (or just that window), and I see
> it in the classes structure
> (NSObject->NSResponder->NSWindowResponder), when I click on the icon,
> the "outlets" connection (inspector window) is empty. What am I
> supposed to do to get outlets to show up?
>
> Thanks,
>
> Mark
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/
> <email_removed>
>
> This email sent to <email_removed>
>
| Related mails | Author | Date |
|---|---|---|
| Mark Dawson | Apr 22, 19:34 | |
| Lance Saleme | Apr 22, 19:52 | |
| Mark Dawson | Apr 22, 22:02 |






Cocoa mail archive

