iPad Orientation Control help
-
awesome thank you! this
objc_util
stuff is interesting.. lol im starting to get the hang of it. i do want to askmone thing though..ive been using
inspect.getmembers()
to list fields and methods.. is this good option or is there a better way?
-
https://github.com/jsbain/objc_hacks/blob/master/objc_browser.py
This is a good way to see a complete list of available classes (that is, from loaded frameworks) and their methods. Tapping a method name installs a swizzle to log all calls to that method -- useful for figuring out how to call an omz custom method for instance. Don't tap a method name unless you want said logging.
For viewing instances, your method works. Also, You can use
https://github.com/jsbain/viewbrowser/blob/master/getobjcprops.py
To get all properties/values of an objc instance. There is a table view delegate to show as a table. I probably need to create a workspace browser that ties together the viewbrowser objc oject browsing functionality...
-
Awesome! That would be a wonderful asset 😀