A little space is good

I broke up with my boyfriend, but almost instantly wanted him back. Then I became needy for a few days, texting him too often and driving him away! He said he needed a little space so I decided to give it to him. No phone calls, no text messages, no contact.....this went on for 4 days. Yesterday morning he knocked on my door out of the blue and said he missed me. I guess we will see what happens but being strong and not being needy really seems like the best way to go!