Using NSSocketPort with AF_UNIX for on demand IPC
Sam Deane — Thu, 2011-12-22 19:05
In my recent post on OS X Helper Applications, I provided some sample code for installing and launching a helper application.
The host application and the helper communicated using distributed objects (NSConnection), running over mach ports (NSMachPort).
At the time, I was aware of the advice in [Apple Tech Note 2083: Daemons and Agents](http://developer.apple.com/library/mac/#technotes/
OS X Code Injection
Sam Deane — Tue, 2011-12-20 15:42
Following on from my Helper Applications sample project, I've created another sample which focusses on how to do code-injection.
In particular this sample makes and installs a helper application who's job is to inject some code into another application (by default the Finder).
New Domain
Sam Deane — Fri, 2011-12-16 12:15
I now have the registration for the bornsleepy.com domain, so in the next few days this site will be moving over to http://www.bornsleepy.com.
OS X Helper Applications
Sam Deane — Fri, 2011-12-16 11:21
I've recently been looking at how to set up a helper application (one that either runs all the time as a background tasks, or on demand, potentially with system permissions).
Apple has a few samples in this area, but they're not all that complete, sometimes not cocoa-centric, and I found them a bit confusing.
After a fair bit of puzzling it out I've created my own sample (a modified version of a couple of theirs), and I've put it up on github in the hope that it might help someone else.
Navigation
Recent Tweets
Recent Tunes
Recent Posts
- Using NSSocketPort with AF_UNIX for on demand IPC
- OS X Code Injection
- New Domain
- OS X Helper Applications
- Adding missing framework methods at runtime
- Radar: Why Closed Bug Reporting Sucks
- Signing nested app bundles
- ECLogging - Better Logging For Objective-C
- Lazy Properties Dynamic Implementation
- Lazy Properties Revisited (Again)