Agreed -- my point was simply that there are often a collection of different methods for detection, depending on the nature of the JB. Some of those techniques rely on positive as well as negative test results.
Whatever the case, that's a neat script you came up with!
@JonB I've thought about that as well... I've actually already implemented __setattr__ in this way for the next build, so that someobj.someProperty = foo is equivalent to someobj.setSomeProperty_(foo).
The problem I see with __getattr__ is that this would break existing code. Something like foo = someobj.someProperty() would fail because the property value wouldn't be callable... I'm generally okay with breaking code during the beta, but I need to think about this a little more than for __setattr__ (which still allows the old syntax).
do report back on your experiments ... reading through the docs, i believe iCloud support had to be enabled in the info.plist for this to work. also it seems perhaps the app must be released in the app store.
@omz So, I installed the new build and IT WORKS, YES!
Can you tell me how did you achieve that?
Thanks for your help, pythonista is the most powerful and useful app ever with objc integration 😍.
One last thing: what is restype for?