This is a one line macro (remove the break if it wrapped). I have
statements like the following in my code
ZNLog(@"The value of foo is: %@", foo);
You need to be really careful with "if" in a macro. Code such as
if (someCondition)
ZNLog(whatever);
else
ZNLog(somethingelse);
will not have the expected result because the else-clause will not be
executed when someCondition is not true (as expected) but only if
someCondition is true and the Key is not set.
Greetings,
Dix
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden