DyCI / dyci-main

Dynamic Code Injection Tool for Objective-C
MIT License
1.12k stars 121 forks source link

Crash while injecting storyboard #70

Closed alex-pimenov closed 9 years ago

alex-pimenov commented 9 years ago

After I'm saving a storyboard and trying to inject it, application is crashing with the following error: Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIProxyObject 0x7bff9e90> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key collectionView.' Does DYCI supports storyboards?

PaulTaykalo commented 9 years ago

Only some simple injections.
If the question is "Does DYCI track any possible stroyboard changes" - The answer is NO.

frowing commented 9 years ago

@onivem I'm getting the same error. I'm curious to know if you found the issue causing the crash. Thanks!

frowing commented 9 years ago

@PaulTaykalo I'm getting this error every time I try to inject the storyboard. I've examined the storyboards and all the outlets are properly set. Any more ideas about what could be causing this?

Except for this issue, I'm really, really, really, REALLY loving dyci-main. Thank you!

PaulTaykalo commented 9 years ago

There's no work in progress for allowing storyboard injection. They have kind'a complex structure and it's hard to track changes were made

frowing commented 9 years ago

@PaulTaykalo is it much harder than xibs? Xibs do work, right?

PaulTaykalo commented 9 years ago

@frowing Depending on your definition of done :) I would rather say that xibs do work sometimes. Still, there are tons of possible cases when they won't work.