hierarchydetective icon indicating copy to clipboard operation
hierarchydetective copied to clipboard

Cocoapods support for the library

Open johanforssell opened this issue 11 years ago • 1 comments

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?

johanforssell avatar Oct 18 '13 11:10 johanforssell

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.

chinmaygarde avatar Oct 19 '13 09:10 chinmaygarde