Skip to content
/ fan.cy Public

Collection of useful helpers I've found / written that help make working with cycript a bit more awesome.

Notifications You must be signed in to change notification settings

b3ll/fan.cy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fan.cy

Collection of useful helpers I've found / written that help make working with cycript a bit more awesome.

Intro

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.

How do I fan.cy?

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.

License?

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!

Contact Info?

Feel free to follow me on twitter: @b3ll!

Special Thanks

@kenntym for writing half of this already. :P
@saurik for being awesome and writing cycript!

About

Collection of useful helpers I've found / written that help make working with cycript a bit more awesome.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages