• 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: AppKit doesn't honor "Untitled" document handling - why?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppKit doesn't honor "Untitled" document handling - why?


  • Subject: Re: AppKit doesn't honor "Untitled" document handling - why?
  • From: Chuck Norris <email@hidden>
  • Date: Wed, 17 Oct 2001 17:57:04 -0700

Good - you prompted me to check one of my old sample projects from Learning Cocoa (I actually learned a lot from it - despite all the complaining about it), and it has the correct behavior.

This helps - somewhere between the example multiple-document project and my current code is where I went wrong...

Thanks,

Chuck

At 5:51 PM -0700 10/17/01, Dan Wood wrote:
My understanding is that if you use NSDocument, this is handled correctly for you. Are you using NSDocument to manage your documents? If you don't, you should read the documentation for this method and proceed accordingly....

- (BOOL)applicationShouldHandleReopen:(NSApplication *)theApplication hasVisibleWindows:(BOOL)flag




On Wednesday, October 17, 2001, at 05:09 PM, Chuck Norris wrote:

I'm finding that the AppKit is not honoring the Human Interface guidelines about how to handle untitled documents when swapping from background to foreground.

My understanding of the human interface guidelines is that when an App switches to the foreground, *some* sort of document needs to open. If there is already a document, that's fine - it should come to the foreground. If there is not already a document, either a minimized one should de-minimize (what's the right term here?), or a new "Untitled" document should open.

I would expect the AppKit to just handle this correctly for multiple-document applications, but it's certainly not doing it for me.

What's the story here? Is my expectation just wrong? Do I have a configuration problem? I'm sure I can figure out how to do this myself, but it seems like AppKit should handle this itself...

Chuck
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev


--
Dan Wood
email@hidden
http://www.karelia.com/
http://www.bikealameda.org/
Mac OS X Developer: Online Resume: http://www.karelia.com/resume.html


References: 
 >Re: AppKit doesn't honor "Untitled" document handling - why? (From: Dan Wood <email@hidden>)

  • Prev by Date: Re: Dynamically created widgets
  • Next by Date: Accessing SMB shares
  • Previous by thread: Re: AppKit doesn't honor "Untitled" document handling - why?
  • Next by thread: Accessing SMB shares
  • Index(es):
    • Date
    • Thread