• 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
keyAESearchText and Document-based applications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

keyAESearchText and Document-based applications


  • Subject: keyAESearchText and Document-based applications
  • From: Adam Knight <email@hidden>
  • Date: Tue, 28 Jun 2005 13:25:37 -0500

In a Core Data, document-based application, I can get the keyAESearchText property of the open event in my -init method of the document only when the application is already running and my document is opened from a search then. If the program is started by the open, I can't get to the event from the document init (presumably because the application object is handling it).

I then added a catch to my controller's -init (an NSObject subclass) to try and catch it and it's not up in time, either.

Do I have to subclass NSApplication and make the corresponding changes to the NIBs just to catch this event? How would I go about doing that without breaking the document-based nature of the program?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Follow-Ups:
    • Re: keyAESearchText and Document-based applications
      • From: Adam Knight <email@hidden>
  • Prev by Date: Re: Fake NSView dimensions for fake printing
  • Next by Date: Re: Convert PICT to NSImage (SOLVED)
  • Previous by thread: Disabling highlighting. Subclass not receiving method call?
  • Next by thread: Re: keyAESearchText and Document-based applications
  • Index(es):
    • Date
    • Thread