Snip
|
We’ll see how to examine Mail’s private API, load a ... and use that plugin to extend Mail’s behavior. This tu... PyObjC, the Python<->Objective-C bridge. You could just ... Objective-C, but I prefer to work in Python. The PyObjC ... wonderful j
|
---|
Categories |
|
---|
For Snip |
loading snip actions ... |
---|---|
For Page |
loading url actions ... |
HTML |
We’ll see how to examine Mail’s private API, load a plugin into Mail, and use that plugin to extend Mail’s behavior. This tutorial uses PyObjC, the <a href="http://pyobjc.sf.net">Python<->Objective-C bridge</a>. You could just as easily use Objective-C, but I prefer to work in Python. The PyObjC folks have done a wonderful job and deserve a lot of credit. Just remember that an Objective-C message of the form <tt>doSomethingWithAnObject: obj1 andAnother: obj2</tt> gets translated into PyObjC as <tt>doSomethingWithAnObject_andAnother_(obj1, obj2)</tt> There should be one underscore for each colon. Otherwise, it’s pretty much the same as in Objective-C. |
---|