johnno1962 / InjectionApp

Issue Tracking Repo for Injection as an App
MIT License
111 stars 7 forks source link

Updating UIView #37

Closed theklausster closed 6 years ago

theklausster commented 6 years ago

Hi John

Awesome framework Anyway to update the simulator in a given UIView?

It seems like it's updating the console, but there's no effect when changing the background color in the uiview on the simulator

Console is saying: 62 injections performed so far.

Injection: Ignore any warning, Swizzled UIViewName 0x126fddca0 -> 0x103487722

johnno1962 commented 6 years ago

Is this the app store version? Is the view/view controller being redrawn?

theklausster commented 6 years ago

It’s the version for Xcode 9.3 downloaded from website.

I can hit the injection func in debug mode, but do I need to do additional steps to refresh the uiview?

Sent from my iPhone

On 21 Jun 2018, at 00.06, John Holdsworth notifications@github.com wrote:

Is this the app store version?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

johnno1962 commented 6 years ago

I can’t really tell what you need to be doing from this end. The typical mistake people make is to inject the code but not force the refresh. For example changing the code to redraw but not calling it.

theklausster commented 6 years ago

Thanks John, you can close this one.

Den tor. 21. jun. 2018 kl. 14.02 skrev John Holdsworth < notifications@github.com>:

I can’t really tell what you need to be doing from this end. The typical mistake people make is to inject the code but not force the refresh. For example changing the code to redraw but not calling it.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/johnno1962/InjectionApp/issues/37#issuecomment-399079597, or mute the thread https://github.com/notifications/unsubscribe-auth/AODhfOXMtwawO7tmF9QQyBnEaSpYa0aBks5t-4tYgaJpZM4UwDt- .