Wish list for next release
First of all, great job with 2.0, it's a great update, and everything I expected.
I don't know if you're planning to work on an editorial update next or pythonista, or maybe something else, but I thought I'd start a thread where people can post their thoughts about what should go into the next update.
I think for the next update, it would be helpful to just provide more modules for use. This would be a good contrast to 2.0, which updates the editor in a lot of ways. The top 5 modules I'd like to see the most are:
photosmodule but for videos
I think this alone would be a significant update to pythonista, adding a lot of functionality.
I'm curious to hear what other people want to see most from the next update.
@Webmaster4o Thanks! I knew it must be somewhere! :-)
A Today widget would be excellent.
@disorientedp Ole has tried that already, but he said that because of the RAM limitations imposed on today widgets you wouldn't be able to do anything useful with it.
@dgelessus , even if we can write out own widgets, would be nice to have one written in objective c by omz. Could provide some forum updates, url launching etc... Just a idea. Oh, other info it could provide is the size of the home dir and I am sure some other useful information
-pip support (StaSh is great, but native support would be huge)
-barring the ability to install packages with C-extension dependencies--
@damian native pip support would never get through apple review. It's downloading external code.
I'd love to see the ability to restrict keychain access with a passcode or Touch ID.
With the unfortunate demise of computable, an iPython notebook with pandas would be awesome.
For an update 2.1, I would very much like the ability to assign (unused) keyboard shortcuts (e.g. command+Q on an external keyboard) to script shortcuts (under the wrench, as one of the options for edit shortcut, similar to icon).
That way, you could make the editor fit your own taste :-)
I am not sure it @computable still monitors this forum https://forum.omz-software.com/topic/888/more-python-for-ipad-on-the-way/5
@ccc I sent him an email also. I'm assuming he does not, because that's his only post.
@Olaf that's an awesome suggestion, great idea.
@Olaf I don't have a keyboard to test with, but this should be possible in objc by setting the keyCommands on the SharedApplication, or perhaps the specific view controllers. Maybe someone with an ext kb and some objc knowledge can pipe in.
@JonB I have a bluetooth keyboard handy. This would, however be good for a built-in feature. I don't think saying "You can do it with
objc_util" should become a replacement for actually implementing it in the app.
Try running this, which adds a command-h shortcut, which simply prints hi to the console.
(if there is already a command-h shortcut, just change the 'h' on line 27 to some other unused character)
This is not very clean, and might not survive globals clears, and should not be run multiple times, but is more of a proof of concept. If it works, it would be easy to extend to something cleaner (ps this shows an example of swizzling, though in a not very safe manner)
Thanks, @JonB, but it doesn't work. I got an AttributeError on line 20:
No method found for selector "initWithInput:modifierFlags:action:"
UIKeyCommand.keyCommandWithInput_modifierFlags_action_and the script will run.
@JonB The script runs after above modification. But it seems to have no effect. Any ideas? It would be super awesome to get this script working.
Ok, I see the issue... we need to use class_addMethod to add a method to the UIApplication, then the action would be a selector. Apparantly I didn't actually read the docs! I think I can have a fix a little latrr tonight
sorry to hijack the wishlist thread... custom keyCommands discussion is now here
A unary minus for the Vector2 class would have been nice:
>>> import scene >>> v = scene.Vector2(1, 2) >>> v * -1 Vector2(-1.00, -2.00) >>> -v Traceback (most recent call last): File "<string>", line 1, in <module> TypeError: bad operand type for unary -
And the next beta build linked against the GameController network. We can test if it solves the problem by using the objc module.