{"issue":{"state":"closed","created_at":"2011-11-24T11:56:06Z","updated_at":"2011-11-24T12:51:51Z","user":{"gravatar_id":"f74e3b669cabefb37c0b415b4216fff4","id":1217869,"url":"https://api.github.com/users/Tafkadasoh","login":"Tafkadasoh","avatar_url":"https://secure.gravatar.com/avatar/f74e3b669cabefb37c0b415b4216fff4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":3,"body":"I'm developing a library for my company which uses Apple's AVFoundation framework. As AVFoundation isn't available for the iOS Simulator, I have to dynamically exclude some lines of code from my headers when compiling for Simulator, which I accomplished by adding some #if checks.\r\n\r\nUnfortunately, these checks will break the appledoc parsing. In my example, the method documentation of the class is lacking, and the protocol defined & documented at the bottom of the same header file is also missing.\r\n\r\nThe problem orginiates due to the following lines:\r\n        #if !(TARGET_IPHONE_SIMULATOR)\r\n        @interface NEOMViewfinderViewController : UIViewController <AVCaptureVideoDataOutputSampleBufferDelegate> {\r\n        #else\r\n        @interface NEOMViewfinderViewController : UIViewController {\r\n        #endif\r\n\r\nAs it's probably very elaborate/complex to correctly parse #if checks, it would be sufficient (in my opinion) to get an error or warning in the appledoc log.\r\n\r\n\r\n\r\nP.S.: I really like your project. Keep up the good work!","assignee":null,"id":2340380,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":151,"title":"#if statement in header file leads to incomplete parsing","closed_at":"2011-11-24T12:51:50Z","html_url":"https://github.com/tomaz/appledoc/issues/151","milestone":null,"url":"https://api.github.com/repos/tomaz/appledoc/issues/151"},"action":"created","comment":{"created_at":"2011-11-24T12:51:50Z","updated_at":"2011-11-24T12:51:50Z","user":{"gravatar_id":"fd55774554653a249a03905a1dd43e03","id":77294,"url":"https://api.github.com/users/tomaz","login":"tomaz","avatar_url":"https://secure.gravatar.com/avatar/fd55774554653a249a03905a1dd43e03?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Glad it worked! Not ideal, but something to keep in mind for documentation update...","id":2863843,"url":"https://api.github.com/repos/tomaz/appledoc/issues/comments/2863843"}}