¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Swift UI for iOS Apps - What I'm learning...


 

JB> I'm assuming, by the way, that writing automated view implementation tests in Swift sucks. It usually does.

Oh - what would give you that impression? ?But of course you are right!

We did find an alternative to the SUC ... View Inspector library is a nice addition to your McSwifty toolbox.

It's really great... still has some rough spots ... like testing into/thru toolbars.

JB > Do you do anything like this? Would you?

oh yes, I'm constantly opening example/learning projects... here's a portion of my Development folder - of all these project only about 3-5 are For?Realz.



And in the Apple Eco-System there is a PlayGround feature for quickly testing out ideas,...

I don't typically TDD my experiments - unless I'm trying to learn how to best test-drive the experiment...

Xcode also offers a feature - Canvas - which is ... incremental real time compling of the UI code and display. ?It gives you a great idea of the look N feel of your SwiftUI... I'm carrying on an internal debate over if it can replace TDD of the View layer. ?I'm conflicted - between the safety of good test. ?And the ease of design of the UI. ?And the ever present... TDD of UI is freq very HARD.

Join [email protected] to automatically receive all group messages.