The manager says that Celtic were first rate in every department as they maintained their nine point lead.
After two months out with a knee injury, McGregor hit into the net from 20 yards in the 90th minute.
It was Celtic's 33rd shot at Pittodrie as they finally wore down Aberdeen's defensive block, which ultimately proved futile as the hosts ended the match with two attempts on goal.
Aberdeen will end the day in third place due to the postponements elsewhere.
Even if we had got a draw, the Celtic boss wouldn't have been upset with his team's performance.
You always look at what our approach was. I thought it was the best in all departments. The players will get the goal if they get it.
I can tell them to go down this road if I keep feeding into that.
It was fitting for Celtic that their lynchpin grabbed the crucial goal, having been out since October, but it was just the latest example of the champion finding something at the end.
Ross County, St Johnstone, Motherwell and Dundee United have all been beaten in the dying moments of games so far this season, and Aberdeen's low shot into the bottom corner added to that.
The game should have been over before the 87th minute. The best chance of the bunch was by Kyogo Furuhashi, but he side-footed Liel Abada's cross away from goal.
Abada, Reo Hatate, Jota and others were denied by Aberdeen goalkeeper Kelle Roos.
They barely completed 100 passes in the game and both of their attempts on goal were off target.
It's no surprise that Celtic have scored late winners in the last three months.
They were frustrated by the number of bodies in the Aberdeen box and probably could have played with more width in the first half to stretch the opposing back five.
Abada's run and cross should have led to Kyogo opening the scoring after he came on. The champion could have easily won on another day.
Despite coming within minutes of claiming a point, this performance will be criticized by many people.
He talked about how he took inspiration from his old club, which has beaten Celtic this season.
The set up was the same, with a back five and three in the middle.
Aberdeen put less pressure on Celtic when they had the ball and were less useful when they did have the ball.
The attacking football that the players want to play has been played at home this season. The approach was not in line with that.
The last time they played an Old Firm side they were too open and were picked apart, but here they didn't offer anything.
He needs to find a happy medium against Glasgow's big two.
The Aberdeen manager was extremely disappointed that his team had conceded a goal late in the game.
Before the game, we thought it was best to sit off Celtic and try to hit them on the counter- attack. In the first half we did that, but in the second half we couldn't get up the pitch.
It's as dominant as we've been away from home. We got our goal late but we were disciplined and didn't get upset.
I couldn't ask for anything else from the guys. It shows the discipline and belief the boys have in the way we play when we win by a single goal.
Aberdeen and Rangers are both at home on the same day.