Skip to content

MAPBLOCK macro is difficult to debug #27

mullr opened this Issue Jun 14, 2012 · 2 comments

2 participants

mullr commented Jun 14, 2012

The debugger behaves strangely when using the MAPBLOCK macro with defineViewNamed:mapBlock, as might be expected. A somewhat more verbose but still readable and debuggable syntax might be made by using a typedef for the 'emit' block parameter.

escoz commented Jun 28, 2012

Personally, I would love if that macro was completely removed and simply the block parameters were left in code. AppCode (the editor I use) knows how to read the properties and automatically create the implementation. (XCode might be doing this soon too.).

mullr commented Jun 29, 2012

Yeah, xcode can do this just fine as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.