Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
from objc_util import UIApplication
with open('','r') as f:
UIApplication.sharedApplication().keyWindow().rootViewController().accessoryViewController().consoleViewController().history= f.readlines()
from objc_util import UIApplication
with open('','a') as f:
f.write( '\n'.join([str(h) for h in UIApplication.sharedApplication().keyWindow().rootViewController().accessoryViewController().consoleViewController().history()])+'\n')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment