woshiccm / Pecker

CodePecker is a tool to detect unused Swift code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@IBAction false positive

Sherlouk opened this issue · comments

@IBAction func someFunction() { currently returns a warning, but it is used/called by our UIStoryboard!

commented

Pecker support Storyboard and xib are not enough, will find a solution as soon as possible, thank you for your feedback

I think this is more that anything that is ObjC marked code ([at]IBAction, [at]ObjC etc) should just be ignored as it's almost impossible to reliably check if it's called.

commented

Yep, I will try my best to find a solution. If still can’t solve it, can only solve it this way.

commented

fixed