fortinmike / XcodeBoost

An Xcode plugin that aims to make altering and inspecting code quick and easy.
MIT License
817 stars 86 forks source link

Defensive initialization, a.k.a XcodeBoost should never be the cause of an Xcode startup crash #28

Closed fortinmike closed 10 years ago

fortinmike commented 10 years ago

Implement the plugin's startup code so that it won't ever crash if some of Xcode's private methods' signatures change (using -respondsToSelector:) for the same compatibility identifier. Optionally display an error message if appropriate to indicate that something went wrong with the plugin.

Crashing when triggering some specific XcodeBoost feature is alright, though; makes it clear that XcodeBoost is to blame and what specific feature needs to be fixed.

fortinmike commented 10 years ago

Seems alright as it is. Nothing should cause an exception during plugin loading AFAIK.