Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
johnno1962
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
Finally Real-time Objective-C code injection
(injectionforxcode.com)
1 points
by
johnno1962
14y ago
|
0 comments
2.
▲
by
johnno1962
14y ago
In fact there are some solutions out there for code injection using bundles on iOS, e.g. the following video: http://vimeo.com/50137444 It packages it all up as a plugin for Xcode.
3.
▲
by
johnno1962
14y ago
Objective-C supports code replacement very well as it "run-time binds" selectors to method implementations. By injecting a bundle with a new implementation in a category it takes precedence over the original implementation as if the method
4.
▲
by
johnno1962
14y ago
Code injection isn't impossible in Objective-C even on iOS, check out http://injectionforxcode.com/ or the write up by Erica Sadun here: http://www.tuaw.com/2012/05/10/devjuice-injection-for-xcode/