Perhaps I wrote a plugin for a Cocoa application (Mac, not iPhone).
The general approach is to make each plugin a package, and then insert the package into the main application. I am concerned about the security implications for this, as the package will have full access to the Objective-C runtime. I am particularly concerned about a plugin having access to a code that processes registration and serial keys.
The other plugin system we are considering is based on distributed notifications. In principle, each plugin will be a separate process, and they will only communicate through distributed notifications.
Is there a way to reliably download packages (like a sandbox)? If not, do you see any problems using distributed notifications? Are there any other plugin architectures that would be better?
plugins objective-c architecture cocoa
Tom dalling
source share