TooTallNate / node-iOS

Native node bindings to iOS functionality (vibrate, acceleromoter, geoservices, etc.)
https://tootallnate.net/nodejs-on-ios
MIT License
267 stars 18 forks source link

MobileSubstrate bindings #5

Open TooTallNate opened 13 years ago

TooTallNate commented 13 years ago

This is one crazy idea, but it would be all kinds of crazy to create MobileSubstrate plugins. This would allow overwriting Objective-C APIs that the iPhone uses in memory, and calling JavaScript functions in place of them O_o...

Here's a good guide explaining it: http://www.ifans.com/forums/showthread.php?t=103558

And more: http://www.iphonedevwiki.net/index.php/MobileSubstrate http://www.ifans.com/forums/showthread.php?t=278562

And for an SBSettings toggle (probably just as crazy of an idea): http://thebigboss.org/guides/sbsettings-toggle-spec

I don't really know enough about it yet to know if it'll even be possible, but this would be one ultimate kick-ass feature!