Re: Cocoa beginner question
Re: Cocoa beginner question
- Subject: Re: Cocoa beginner question
- From: Andre Lipinski <email@hidden>
- Date: Fri, 30 Nov 2001 01:47:08 -0500
On Wednesday, November 28, 2001, at 06:44 PM, Hussein Yahia wrote:
Hello,
I'm new to cocoa programming, so apologize for the following question:
I create a simple cocoa app with PB. Using IB, I connect the "open"
menu to the action in FirstResponder : "openDocument". When I test it
under IB, if I choose "Open" in the menu, everything goes as expected :
it display s a window for opening a file. But if I compile the app in PB,
the "open" menu remains dimmed.
How to solve that ?
This is hard to answer without seeing it... In your target settings in PB
is your app document based or not?
Is it defined as editor or viewer?
Did you have to connect "open" to openDocument: yourself?
Perhaps try starting with a fresh project using "Cocoa application" or
"Cocoa Document based Application" in the new project window.
Andre.