拥有Mac Mini还是应该使用托管的Mac服务更好? [关闭]

Is it better to own a Mac Mini or should I use a hosted mac service? [closed]

I am interested in learning how to code in Swift & developing iOS and MacOS apps, however I own a PC and am aware that a mac is required to develop for the aforementioned operating systems.

I have just purchased a midrange mac mini but wish to return it. I remember seeing online that it is possible to develop macOS and iOS apps using Visual Studio 2017 using Microsoft's own hosted macOS preview.

Thing is however, I have no idea how to use this and am aware that using other hosted mac services is expensive.

So to my questions: a) Should I keep my mac mini or return it?; b) If the Microsoft hosted macOS preview is preferable, how does one install it / use it?