• 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: [myNSWindow setDocumentEdited:dirtyB] fail ??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [myNSWindow setDocumentEdited:dirtyB] fail ??


  • Subject: Re: [myNSWindow setDocumentEdited:dirtyB] fail ??
  • From: Marco S Hyman <email@hidden>
  • Date: Fri, 7 Aug 2009 20:44:06 -0700

On Aug 7, 2009, at 5:53 PM, David M. Cotter wrote:

this is code that has been carbon forever and now has absolutely minimal cocoa enough to get it running. if there is an NSDocument i don't know about it.

Are you sure that myNSWindow isn't nil? I've a single window application where I set the dot using something like:

    [[NSApp mainWindow] setDocumentEdited: mod];

It works just fine.

/\/\arc

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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: 
 >[myNSWindow setDocumentEdited:dirtyB] fail ?? (From: "David M. Cotter" <email@hidden>)
 >Re: [myNSWindow setDocumentEdited:dirtyB] fail ?? (From: Graham Cox <email@hidden>)
 >Re: [myNSWindow setDocumentEdited:dirtyB] fail ?? (From: "David M. Cotter" <email@hidden>)

  • Prev by Date: Re: Cmd+key shortcuts not being sent to NSWindow on Tiger
  • Next by Date: Re: Cmd+key shortcuts not being sent to NSWindow on Tiger
  • Previous by thread: Re: [myNSWindow setDocumentEdited:dirtyB] fail ??
  • Next by thread: Re: [myNSWindow setDocumentEdited:dirtyB] fail ??
  • Index(es):
    • Date
    • Thread