Born Sleepy - Sam Deane's blog

  • about
  • code
  • music
  • contact
  • elegant chaos

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/

  • Read more
  • 137 reads
  • Comments

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).

  • Read more
  • 170 reads
  • Comments

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.

  • Read more
  • 237 reads
  • Comments

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.

  • Read more
  • 275 reads
  • Comments
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • …
  • next ›
  • last »
Syndicate content

Login

login or register

Navigation

  • Search
  • Recent posts

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)
more

Links

  • Sam Deane's CV
  • Sam Deane on Facebook
  • Sam Deane on MySpace
  • Sam Deane In The Real World
  • Rangers Till I Die
  • UK Mac Developers Group
  • Mountain River Tai Chi Chuan
  • National Secular Society
  • Halflight Music
  • Alien Jones
  • Keith Deane Gardening

Who's online

There are currently 0 users and 0 guests online.

Syndicate content

  • about
  • code
  • music
  • contact
  • elegant chaos