Hi everyone, I am trying to understand how I can use the objc_util module, this because it’s inporta to me to know it for any future project, actually I only know :
Import objc_util as oc
How can I use this? For example like
The objc_util module comes with extensive documentation (click the help button in the console, then click on Pythonista Modules, and fine objc_util). Have you skimmed it to see if your question is answered there? The docs contain several examples. There are also a few fully worked examples in the Examples/ObjC folder. Searching google for
objc_util pythonistaalso brings up dozens of examples.
It wasn't clear from your question whether you are trying to understand the CMAttitude class, or if you are asking in general how to use imports. Maybe rephrase your question, to be a little more specific about what you have tried.
I find when using objc_util, the best way to work is using the console, because then autocomplete shows you method names, which makes it easier than translating objective c code yourself. Then when things are working, I translate it into wrappers, etc. Post what you have so far, and we can surely help