Tokøta from Mastering.com shows a quick way to quantize MIDI as you record in Logic Pro, instead of fixing timing after the fact.
Set the region's quantize parameter to a subdivision like 16th, 8th, or quarter note before hitting record. Whatever you play gets snapped to that grid in real time.
Even a sloppy take lands in the pocket immediately. You can still adjust swing or tweak the quantize settings afterward if the feel needs loosening up.
It's a fast, rough way to get usable MIDI performances down without stopping to manually correct timing in the piano roll.