I often do this a lot
CLog(@"someNew.Title %@", someNew.Title); //Working
CLog (@"_currentBusiness.managedObjectContext %@",_currentBusiness.managedObjectContext);
CLog (@"someNew.managedObjectContext %@",someNew.managedObjectContext);
CLog (@"[ThreadClass managedObjectContext] %@",[ThreadClass managedObjectContext]);
CLog (@"UIAppDelegate.managedObjectContext %@",UIAppDelegate.managedObjectContext);
Basically I do
CLog (@"VariableName %@", VariableName)
Is there a way to turn this into a macro?
This should work – define the macro like this:
and then invoke it like this: