我经常这样做
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);
基本上我会
CLog (@"VariableName %@", VariableName)
有没有办法把它变成一个宏?