Edit product

    Is this your street address?

    Card

    ···· ···· ···· 4242
    Test card

    05/18

    Card

    Use a different card?

    Card

    pp paypal

    or pay with

    We do not keep any of your sensitive credit card information on file with us unless you ask us to after this purchase is complete.

    or pay with

    Please confirm your location:
    Your card will be charged .

    Thank you!

      Gumroad Library

      Download from the App Store or text yourself a link to the app

      $40

      Hacking with macOS

      INCLUDES FREE UPDATES FOR SWIFT 6 AND BEYOND! Click here for full details.


      POWER UP YOUR DESKTOP

      Whether you have existing iOS skills or you're starting fresh, you can learn macOS coding by building real-world projects with Swift 5.0 and Xcode – all you need is in this course.

      • 100% Mojave: You can always be guaranteed you're learning the latest, greatest Apple technologies because all my tutorials are written for macOS 10.14.
      • 100% Swift 5.0: Don't waste time with out of date tutorials – here you can learn smart, powerful, and expressive Swift the way it was meant to be written.
      • 100% Practical: You learn Swift while you make real macOS projects, which means you get to apply your new skills immediately and see them work in context.
      • 100% Proven: I've already taught thousands of people how to build iOS apps, and now I'll help you transfer your skills to macOS and unleash the power of your desktop.


      If you loved Hacking with Swift, this is the sequel you've been waiting for.

      Hacking with macOS follows the same approach I used with Hacking with Swift: small, standalone projects that teach individual techniques starting from scratch, so you end up with a huge library of finished projects you can develop further or use as the base for something entirely new.


      What's in the course?

      Hacking with macOS teaches you Swift and macOS frameworks through real-world projects. There's a comprehensive Swift introduction for beginners, but I'm also packing the book with hints and tips that help you transfer your existing iOS skills to macOS painlessly.

      Hacking with macOS includes 18 projects in total: six apps, six games, and six technique projects that focus on specific macOS APIs. The projects are:

      • Storm Viewer: Get started coding in Swift by making an image viewer app and learning key concepts.
      • Cows and Bulls: Practice your NSTableView skills while learning about random numbers and text input.
      • Social media: Return to project 1 and add a feature to let users share their selected picture.
      • Grid Browser: Power up your web browsing experience by viewing more than one site at a time.
      • Capital Cities: Learn to drop map pins and measure distance in this MKMapView game.
      • Auto Layout: Make your apps adapt intelligently to any size screen – it's easier than you think!
      • Photo Memories: Create watermarked videos using NSCollectionView with drag and drop.
      • Odd One Out: Build a picture-matching game using grid view and… particle effects?
      • GCD: Learn how to create background threads, delay work, and even parallelize complex operations.
      • WeatherBar: Display your local weather in the macOS status bar using JSON and GCD.
      • Bubble Trouble: Create a physics-based bubble popping game with timers, sound effects, and more.
      • Animation: Master Core Animation by learning a variety of ways to bring your UI to life.
      • Screenable: Get to grips with Core Graphics and NSDocument by building a screenshot-editing app.
      • Shooting Gallery: Build a fast-paced shooting game with animations, new levels, and a custom mouse cursor.
      • NSUndoManager: Learn to let your apps forgive and forget user mistakes with NSUndoManager.
      • Bookworm: Track the books you've read while writing any hardly any code. No, really.
      • Match Three: Build a ball-matching game with SpriteKit, while learning about shape nodes and particle emitters.
      • Bindings: Practice your bindings skill by converting temperatures with KVC and KVO.


      While building projects, you'll learn all this and more:

      • How Cocoa on macOS differs from Cocoa Touch on iOS.
      • Creating advanced user interfaces with NSTableView, NSCollectionView, NSStackView, NSSplitView, and the all-new NSGridView.
      • How to build apps that look great in multi-window and tabbed user environments.
      • Designing your apps with powerful native components such as NSButton, NSTextView, NSSegmentedControl, NSImageView, and more.
      • Working with the filesystem, and using system services such as sharing and drag and drop.
      • Customizing your app's user interface so it looks great in both light and dark mode.
      • Designing interfaces with and without storyboards, plus Auto Layout, alerts, modals, and sheets.
      • Handling mouse and keyboard events, animation, concurrency, and more.


      Download a free sample!

      You can download the complete table of contents for this book here, or a 24-page sample PDF here.


      Will it teach me Swift?

      I've done my best to make sure this book is accessible to everyone: if you're just starting out I'll make sure and explain every concept, but if you're coming from iOS there are dozens of tips to help you transfer your existing skills to macOS.

      Hacking with macOS comes with the same packed Swift introduction you get with Hacking with Swift, but after that it turns to focus on the powerful platform features that lie at the core of macOS. I'm working hard to cover as much of AppKit as possible, to help give you the best jump start possible for your own apps.


      I already make iOS apps – is macOS so different?

      iOS, macOS, tvOS and watchOS have a number of similarities, not least the Swift programming language that works across all of them. This means coming to macOS from iOS already gives you a head start because many concepts will be familiar to you – delegation, KVO, notifications, and closures for example all work the same.

      But when it comes to user interface, macOS and iOS are worlds apart. The very nature of macOS is that it works in a multi-window environment where users can resizing apps or dock them as needed – your apps need to learn to existing alongside others, and integrate fully with the rest of the system.

      I make a point of highlight everywhere macOS and iOS come together so you can transfer your skills faster. This means you don't need to learn many things from scratch, and can instead focus on the parts that are different.


      What will I get?

      You'll get the complete book and all project tutorials as ePub, PDF, Amazon Kindle, and HTML, all without any DRM.


      The Hacking with Swift guarantee

      We want everyone to be happy with all the Hacking with Swift courses they buy, both now and in the future, which is why all our books come with free lifetime Swift updates and free bonus content with our Frequent Flyer Club, and we also encourage folks to join our Slack community to help solve problems.

      However, if you aren't happy with a course you bought from us, we offer a 30-day No Questions Asked refund policy. This applies to all books and video courses purchased through Gumroad, which is our primary distributor. So, if you aren't happy with your purchase, if you changed your mind, or if you just bought the wrong thing by accident, we can refund your purchase up to 30 days after it was made.


      Any other questions?

      You can email me at paul@hackingwithswift.com or tweet me @twostraws, and I'll do my best to help.

      Sorry, this item is not available in your location.
      Sold out, please go back and pick another option.

      You've purchased this product

      Give it a rating

      See it in your library

      0 ratings

      • You get the complete book with all projects in ePub, PDF, Amazon Kindle, and HTML, all DRM-free.

      Purchasing Hacking with macOS...

      Card

      ···· ···· ···· 4242
      Test card

      05/18

      Card

      Use a different card?

      Card

      pp paypal

      or pay with

      We do not keep any of your sensitive credit card information on file with us unless you ask us to after this purchase is complete.

      or pay with

      Please confirm your location:
      Your card will be charged US$40.

      Your rental will be available for 30 days. Once started, you’ll have 72 hours to watch it as much as you’d like!

      Thank you!

        Gumroad Library

        Download from the App Store or text yourself a link to the app

        Good news! Since you already have a Gumroad account, it's also been added to your library.