I still use my M1 Pro Macbook... for iOS development. It still works amazing well, and the battery still is holding strong. For large apps, compiling can be a tad slow, but for medium and small apps it still works amazingly well.
Eventually I will upgrade, but for me the M1 Pro Macbook (14") has to be the best computer of the last two decades.
Before that, I had the butterfly Intel version, and that was a disaster. Apple just cooked with the M1+ line...