Gameplay programming with a mac

Hey all,
I have a Mac with the Yosemite OS. I just downloaded unreal engine 4 and I would like to do some gameplay programming using C++. It looks like you need Visual Studio, which to my knowledge is a windows only program. Is there a way around this limitation? Blueprint mode looks cool, but I’d like to do some coding as well.

On MAC you have to use xcode. There are some nice guides to get you started on a MAC: Managing Game Code | Unreal Engine Documentation