• 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: NSServices
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSServices


  • Subject: Re: NSServices
  • From: Douglas Davidson <email@hidden>
  • Date: Fri, 27 May 2005 08:30:41 -0700


On May 26, 2005, at 8:02 PM, Chad Armstrong wrote:

Any good suggestions on how to integrate NSServices into an application.  Of two books I've looked through (Cocoa Applications and Cocoa Programming by Anguish/Yachtman, etc.) they seem to approach NSServices differently so I'm a little murky on how to attack things first.  Can it be as simple as just editing the app's .plist, or is there generally a decent amount of internal programming, too?



For those of you who will be at WWDC, I expect to present an example of services--both using and providing services--in session 121.

Providing a service is not terribly complicated, but it does involve a bit more than just adding an entry to the plist.  You need to register a provider, which implements a method that will be called when the service is invoked.

Douglas Davidson

 _______________________________________________
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: 
 >NSServices (From: Chad Armstrong <email@hidden>)

  • Prev by Date: Re: Data driven outlineview with icons?
  • Next by Date: NSLayoutManager looping with custom NSTextContainer
  • Previous by thread: Re: NSServices
  • Next by thread: How can Safari write Bookmarks.plist without permission?
  • Index(es):
    • Date
    • Thread