• 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: Cocoa beginner question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Cocoa beginner question (From: Hussein Yahia <email@hidden>)

  • Prev by Date: Re: Standard NSToolbarItems
  • Next by Date: Re: NSTextField resizing
  • Previous by thread: Cocoa beginner question
  • Next by thread: Re: Cocoa beginner question
  • Index(es):
    • Date
    • Thread