WWDC22 SALE: Save 50% on all my Swift books and bundles! >>

I got the wrong book, need help finding the right one

Forums > Books

I bought "Hacking with macOS" thinking there would be lots of examples of how to make macOS apps that use SwiftUI. But I misunderstood somewhere; there are lots of examples of macOS apps that use Cocoa. I should have read the fine print? I don't know. Anyway, I learned some cool stuff from it. But I still need some serious tutorials for macOS apps that use SwiftUI. Most of what I see out there aims for iOS, in ways that don't translate well for my macOS app, especially debugging with that dratted simulator.

Where should I be looking for extensive tutorials on macOS apps that use SwiftUI?

1      

Where should I be looking for extensive tutorials on macOS apps that use SwiftUI?

Unfortunately, there aren't a whole lot of SwiftUI tutorials targeting macOS.

Paul's macOS book should have both AppKit and SwiftUI versions, although the latter hasn't been updated in over a year. And the SwiftUI version doesn't contain all the projects of the AppKit version.

2      

From HackingWithSwift.com.... We're confident you'll love our books, but if you aren't happy with your purchase after 30 days, we'll refund your purchase.

If you are not happy with Hacking with MacOS, send Paul an email directly! Get a refund, then buy another book.

Not sure if you have to wait the entire 30 days before letting him know why you're not happy with that particular book. Let us know what book you do get!

1      

Don't get me wrong! I'm not unhappy. I learned from the book. It's money well spent. But it's just not the thing I'm trying to learn right now. I purchased another one, "SwiftUI by Example", this morning -- not really what I was looking for, because it's very iOS-oriented, but again, I'm sure I'll get something useful from it.

1      

This is from Hacking with MacOS SwiftUI Edition

I would recommend you follow the AppKit edition first, then try SwiftUI. This will give you the most complete understanding of what’s going on, and allow you to compare the two more fairly.

So maybe do this book and then get the Hacking with MacOS SwiftUI Edition.

1      

The Hacking with Mac purchase already includes the short SwiftUI supplement as a separate download from your Gumroad account.

Most SwiftUI objects work the same on Mac and iOS. The exceptions are mostly noted in the Apple Developer reference for those object types. So the Swift UI by Example book is extremely helpful for Mac apps.

1      

Hacking with Swift is sponsored by Emerge

SPONSORED Why are Swift reference types bad for app startup time, and what’s the performance cost of protocol conformances? That’s just a couple of the topics you can learn about on the Emerge blog — written by the app performance experts behind Emerge’s advanced app optimization and monitoring tools, based on their experience of working at companies like Apple, Airbnb, Snap, and Spotify.

Find out more

Sponsor Hacking with Swift and reach the world's largest Swift community!

Reply to this topic…

You need to create an account or log in to reply.

All interactions here are governed by our code of conduct.

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.