I have some code that plays nicely with http://www.unifycommunity.com/wiki/index.php?title=NotificationCenterGenerics as long as my code isn't set to #pragma strict. Here is the code:
If I use #pragma strict, I get this error:
This is because data is an untyped variable in class Notification in the wiki code link. In order to get around the strict compilation issue, the code that I wrote needs some way to determine data's datatype. What should I do?
asked May 27 '12 at 12:32 AM
answered May 27 '12 at 12:36 AM