hierarchydetective
hierarchydetective copied to clipboard
Cocoapods support for the library
I'm using Cocoapods for my project and I would like Hierarchy Detective to show up there. Could you create a cocoapods pod for your project?
On it now.
However, I am unsure if the introspection server should startup automatically or a public header be exposed and the user expected to manually start and stop the same (for example, on UIApplicationWillEnterForegroundNotification or just on the click of a button). Since this is mainly a debugging tool, I would hate for someone to unintentionally embed the server into their application when they are not debugging.
In either case, the interface is quite simple (A call to -[HDDetective activate]
and -[HDDetective deactive]
in https://github.com/chinmaygarde/hierarchydetective/blob/master/Detective/HDDetective.h). It is just a matter of deciding on a sensible (and least unexpected) default.
Do you have a preference on the same? I am leaning towards exposing a header.