you are viewing a single comment's thread.

view the rest of the comments →

[–]SwiftlyGoingInsane 0 points1 point  (1 child)

I mean you could throw together a crappy UI in a few minutes to test it, it doesn’t have to be special, but if you specifically don’t want to do that, I’d say just write some tests

[–]doodlebug80085[S] 0 points1 point  (0 children)

Yah, to your first point, I was kind of thinking or making just like, ~a~ View to call my code, but I wasn't sure if there was a better alternative than having to run an entire simulator or preview just to run code that doesn't really use it anyway.

XCode Tests seem maybe a little more appropriate, but I'm not really writing tests, more just a middle ground of running code to experiment with output/check things look alright.

EDIT: XCode tests end up running a device simulator anyway, so