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

Re: keyAESearchText and Document-based applications


  • Subject: Re: keyAESearchText and Document-based applications
  • From: Adam Knight <email@hidden>
  • Date: Wed, 29 Jun 2005 07:08:18 -0500

On Jun 28, 2005, at 1:25 PM, Adam Knight wrote:

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.


Added applicationWill/DidFinishLaunching and neither can see it.

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?

Did that. No change.


Still trying to find something that will see this at app launch... _______________________________________________ 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
References: 
 >keyAESearchText and Document-based applications (From: Adam Knight <email@hidden>)

  • Prev by Date: Re: Can't bind my array to that scrollview
  • Next by Date: Re: Objective-C in Java
  • Previous by thread: keyAESearchText and Document-based applications
  • Next by thread: indexOfItemWithStringValue gets a nil string?
  • Index(es):
    • Date
    • Thread