If this is a hobby decision, then buying a Mac is spending money on your hobby. If it's a business decision then YAGNI applies until you have paying work developing iOS/OSX applications. Even then on the iOS front there are things like Xamrin that cover the functional requirements for iOS and the price of new hardware covers many months of subscription.
Good luck.