• 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: Progress Sheet on a NSDocument
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Progress Sheet on a NSDocument


  • Subject: Re: Progress Sheet on a NSDocument
  • From: "Alan Smith" <email@hidden>
  • Date: Sat, 24 Mar 2007 21:02:07 -0500

I can only suggest that something else is wrong. How are you creating the NSPanel that's attached to the window? I load mine from a NIB. Is it the correct class and type? Is it retained? Is it correctly initialized? I've spent (read "wasted") many hours trying to diagnose window and NSView problems where I didn't correctly initialize objects using the designated initializer.

It's in a nib and I've double and triple checked that so I doubt the problem lies there.

The only thing I note that different is that you don't use a delegate or didEndSelector. I suppose that should work, I've just never done it that way.

I switched to using a selector and that didn't change anything.

And you say that the panel is movable separate from the window? That's definitely wrong. I'd double and triple check every parameter that's getting passed to beginSheet:modelForWindow:...

No, the other way 'round, the window is movable separate from the sheet. I've quadruple checked those.

It may help if I had a sample project that works correctly, perhaps
you could furnish me with one?

Thanks, Alan


-- // Quotes from yours truly ------------------------- "You don't forget, you just don't remember." "Maturity resides in the mind." "Silence is the Universe's greatest gift." "When the World realizes that religion really is unnecessary, then it shall evolve." _______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


References: 
 >Progress Sheet on a NSDocument (From: "Alan Smith" <email@hidden>)

  • Prev by Date: Re: Where can I find qmake?
  • Next by Date: [Moderator] List guidelines and related resources
  • Previous by thread: Re: Progress Sheet on a NSDocument
  • Next by thread: Re: Progress Sheet on a NSDocument
  • Index(es):
    • Date
    • Thread