Can I connect my Mac Mini to my iPhone 6?

Mac Mini meets iPhone 6

I am going to be learning how to code next week. I am going to upgrade to an iPhone 6, and also receive a Mac Mini. My question is if I'm on the go will I be able to connect my Mac Mini to my new iPhone 6? Or should I just use my MacBook if I want to code on the go?
Re: Mac Mini meets iPhone 6

Use the macbook while on the go...

Original thread: https://forums.imore.com/threads/can-i-connect-my-mac-mini-to-my-iphone-6.315276/