Collection of useful helpers I've found / written that help make working with cycript a bit more awesome.
Basically these are snippets of code I always find myself copy-pasta'ing into cycript whenever I'm using it. I'll keep updating it as I make / use / find more.
cycript -p SpringBoard fan.cy; cycript -p SpringBoard
alert(something) : shows in a UIAlertView (much like alert() in javscript).
methods(class) : returns all selectors on a class.
highlight(view) : traces a nice blue border on a view (great for debugging and finding what's what).
view.highlight()
unhighlight(view) : removes said border from a view.
view.unhighlight()
setX(x, view) : sets the x origin on a view's frame.
setY(y, view) : sets the y origin on a view's frame.
setWidth(width, view) : sets the width of a view's frame.
setHeight(height, view) : sets the height of a view's frame.
revealApp() : Loads and starts Reveal for said process.
Oh and cycript.org.
Pretty much the BSD license, just don't repackage it and call it your own please!
Also if you do make some changes, feel free to make a pull request and help make things more awesome!
Feel free to follow me on twitter: @b3ll!
@kenntym for writing half of this already. :P
@saurik for being awesome and writing cycript!