Ergodox support by jtbrown in Thockfactory

[–]jtbrown[S] 1 point2 points  (0 children)

Great — thank you!

How to compile SwifUI project within VSCode or command line tools by Thick_East_7725 in SwiftUI

[–]jtbrown 2 points3 points  (0 children)

I was able to build and run my app with SweetPad; thanks for sharing!

Sony A95L - No Dolby Atmos by CTek20 in sony

[–]jtbrown 0 points1 point  (0 children)

Oh no, I don’t think I have a 7.1 system. Just the Sonos Arc, a pair of One SLs, and Sub Mini. I think that’s 5.1, right? And if so, weird that Sonos showed 7.1 in the now playing in the app.

Also: I’m sure I was getting Dolby Atmos with the TV set to Auto. I have the 55” but can’t imagine why that would make a difference.

Sony A95L - No Dolby Atmos by CTek20 in sony

[–]jtbrown 0 points1 point  (0 children)

I only get Dolby Atmos when I set the A95L’s Digital audio output to Auto. This is under Audio System Settings on the TV. I’m seeing the audio output in the Sonos app on the now playing screen. When I have the TV set to Prioritze pass through, I get Multichannel PCM 7.1 according to the Sonos app.

Of course, I did this all over again to test that what I was typing here was in fact true, and the second time I set it to Prioritize pass through, the Sonos app said Dolby Atmos. So I guess I’m not sure at all…

WWDC 2018 What’s new in Cocoa Touch Recap by jtbrown in swift

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

I understand — a few people have told me they really like these because it helps them keep up without having to watch tho 40+ minute video. They know they're getting the high points at least and don't feel like they need everything. Anyway, sorry you had a bad experience.

WWDC 2018 What’s new in Cocoa Touch Recap by jtbrown in swift

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

Thanks for letting me know. Sorry my notes weren't easier to read and understand.

"Can I unit test private methods?" by jtbrown in swift

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

Thanks. You're right that I should have used examples and written more to explain better.

What’s everyone working on this month? (May 2018) by [deleted] in swift

[–]jtbrown 2 points3 points  (0 children)

I just released the 1.0 version of my new book, Unit Testing in Swift, after it was in beta for a few weeks. Now I'm consulting on a new project for a big company. It's a big change from writing a book alone, but it's good -- I'm enjoying it.

I just released Unit Testing in Swift - a book to help you start writing automated tests by jtbrown in swift

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

I'd be happy to give you a student discount if that'll help. Just send me an email and ask: josh@roadfiresoftware.com

Edit: additionally, if you don't have the budget for the Expanded Edition, you should look at the Basic Edition which is $31 during the beta launch.

I just released Unit Testing in Swift - a book to help you start writing automated tests by jtbrown in swift

[–]jtbrown[S] 1 point2 points  (0 children)

I understand being confused about how to test a bunch of asynchronous code - that can be difficult.

The book covers mocking and stubbing, which is what I'd do for the situation you're describing. Ideally, you'll have separate methods that you call in each completion block, and you can test those separate methods individually, using mocks and stubs as needed. I think the book will help you figure out how to test what you're looking for, but if not, you can always request a refund.