johnno1962 / injectionforxcode

Runtime Code Injection for Objective-C & Swift
MIT License
6.55k stars 565 forks source link

Is possible flush the UI realtime ? #61

Closed gslqy closed 8 years ago

gslqy commented 8 years ago

eg. I have an UIViewController who's title property is @"Title", then modify self.title = @"new title". type control+=, the UI didn't changed, you must pop the ViewController and reopen it for works. Can I flush the ViewController real time ? like mechanism of lldb [CATransaction flush]

johnno1962 commented 8 years ago

HI, this isn’t realy possible the way injection works at the moment. You could look at “Eval code” feature of XprobePlugin to do something more like this.