Tommie C.
Tommie C.

Reputation: 13181

What does the Xcode 5 build setting "Unused Functions" actually do?

Xcode 5 has a build setting called "Unused Functions." I have read elsewhere that "The compiler can never tell if an Objective-C method is truly unused, because it may be called dynamically, either via performSelector:, via subclassing, or many other ways." Given that unused parameters does in fact show parameters that are not being used I was surprised that unused functions does not have the implied behaviors.

Can someone explain what is the meaning/impact of this setting?

Unused Functions in Build Settings

Upvotes: 6

Views: 1690

Answers (1)

Catfish_Man
Catfish_Man

Reputation: 41821

It applies to functions, rather than to methods.

Upvotes: 7

Related Questions