As the title tells,please help...
相关问题
- NSOutlineView drag line stuck + blue border
- How to upgrade/install Upstart deamon version 1.5
- There Was No Endpoint Listening at http // That Co
- Starting an Application from Windows Service
- iphone sdk see size of local file (one created
相关文章
- Service层和Dao层一定要对应吗?
- k8s 访问Pod 时好时坏
- Converting (u)int64_t to NSNumbers
- “getter” keyword in @property declaration in Objec
- Async task does not work properly (doInBackground
- NSMenuItem KeyEquivalent “ ”(space) bug
- Detect if cursor is hidden on Mac OS X
- NSNumberFormatter doesn't allow typing decimal
You need to include the NSRequiredContext key in each of your services' dictionaries.
The documentation doesn't mention this, but it is required since Mac OS X 10.6; as you've seen, your service will be disabled by default if you don't have it.
You should also call the
NSUpdateDynamicServices
function on launch, to refresh the user's Services menu without them having to log out and back in.