On Apr 13, 2009, at 2:10 AM, Johan Rydberg wrote:

http://jimmatthews.wordpress.com/2007/07/12/objcselector-and-objcsignature/

Yes! That was exactly what I needed. I had actually thought that pyobjc could be interpreting a zero as nil, and did something like:

if index is None:
    index = 0

but then the program crashed with a Bus Error. I now assume that is because the bridge didn't know what to expect my method to return. With the signature line, I've told it to expect an object, so it works flawlessly!

Thanks for the help!
-David

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to