𝔖 Scriptorium
✦   LIBER   ✦

πŸ“

macOS by Tutorials macOS App Development for iOS Developers

✍ Scribed by raywenderlich Tutorial Team, Sarah Reichelt


Year
2022
Tongue
English
Leaves
350
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Synopsis



Learn macOS development!

You're an experienced iOS developer and have always wanted to develop a native macOS app. But, you have no idea where to begin.

Never fear! macOS by Tutorials is here to guide you. You'll be creating your own beautiful macOS apps in no time!

Who This Book is For

This book is for developers with some experience developing for iOS and who are familiar with Swift, Xcode and SwiftUI.

Topics Covered in macOS by Tutorials
  • Building a Native App: Use SwiftUI to build a complete, beautiful, native macOS app with full multiple window support.
  • Planning and Prototyping: Learn how to plan and prototype data models. Once you're happy with the prototype, you'll incorporate your model into a full-featured app.
  • Making Menu Bar Apps: Learn how to build an app that lives solely in the macOS menu bar.
  • Creating Document-based Apps: Learn how to build an app that manages its own document type.
  • Building a GUI front end: See how to create a graphical user interface for a system command line command.
  • Building Services and Shortcuts: Explore how to enable automation in your app so it can be used from the Services menu and the Shortcuts app.
  • Distributing Your App: Explore the options available for distributing your macOS apps.

One thing you can count on: after reading this book, you'll be prepared to create and distribute your own native macOS apps.

✦ Table of Contents


What You Need
Book Source Code & Forums
Dedications
About the Team
About the Authors
About the Editors
Introduction
How to read this book
Chapter 1: Designing the Data Model
Where is the Data Coming From?
Saving a Sample Data Set
Using the Sample Data
Exploring the JSON
Decoding the Top Level
Going Deeper
Processing the Links
Making Day Easier to Use
Identifying Data Objects
Tidying up the Event Text
Bringing it All Together
Testing with Live Data
Key Points
Where to Go From Here?
Chapter 2: Working With Windows
A New Mac App
Designing the Window
Setting up the Sidebar
Previewing macOS Views
Creating an Event Card
Using Live Data
Showing Data in a Grid
Styling the Event Card
Working with Multiple Windows
Challenge
Key Points
Where to Go From Here?
Chapter 3: Adding Menus & Toolbars
What Is a Menu?
Setting up Menu Commands
Using Pre-built Menu Groups
Inserting a Menu Item
Creating a New Menu
Adding a Toggle
Using a Picker
Adding a Toolbar
Searching the Grid
Making Your Toolbar Customizable
Challenges
Key Points
Where to Go From Here?
Chapter 4: Using Tables & Custom Views
Why Use a Table?
Adding a Table
Switching Views
Storing Window Settings
Sorting the Table
Selecting Events
Custom Views
Adding to the Sidebar
Challenges
Key Points
Where to Go From Here?
Chapter 5: Setting Preferences & Icons
Preferences
Creating a Preferences View
Adding Tabs
Setting up the Show Options
Designing the Appearance Tab
Editing the App Name
App Icons
Configuring the About Box
Help?
Challenge
Key points
Where to Go From Here?
Chapter 6: Why Write a macOS App?
What Makes a Mac App?
What are the Alternatives?
And the Winner Is…
Code Sharing
Challenge
Key Points
Where to Go From Here?
Chapter 7: Using the Menu Bar for an App
Setting up the App
Converting the App into a Menu Bar App
Why AppKit?
Adding the Models
Static Menu Items
Dynamic Menu Items
Styling the Menu Items
Creating a Custom View
Using the Custom View
Challenge
Key Points
Where to Go From Here?
Chapter 8: Working with Timers, Alerts & Notifications
Linking Outlets and Actions
Managing the Tasks
Timers
Tracking the Timer State
Starting and Stopping Tasks
Updating the Menu Title
Updating the Tasks
Checking the Timer
Creating Alerts
Using Local Notifications
Key Points
Where to Go From Here?
Chapter 9: Adding Your Own Tasks
Storing Data
Retrieving Data
Opening the Sandbox
Editing the Tasks
Showing the Edit Window
Saving and Reloading
Using Notification Center
Launching on Login
Using the App
Challenges
Key Points
Where to Go From Here?
Chapter 10: Creating A Document-Based App
Setting Up a Document-based App
The Default Document App
Configuring for Markdown
Markdown and HTML
Embedding an AppKit View
Displaying the HTML
Limiting the Frames
Adding a Toolbar
Configuring the Preview
Challenges
Key Points
Where to Go From Here?
Chapter 11: Adding Menu Controls
Adding the Style Files
Creating a New Menu
Styling the HTML
Adding Keyboard Shortcuts
Inserting a Submenu
Using the Help Menu
Focusing on a Window
Adding a Window-specific Menu
Exporting the HTML
Coding for the Touch Bar
Challenges
Key Points
Where to Go From Here?
Chapter 12: Diving Deeper Into Your Mac
Terminal Commands
Running Commands in a Playground
Wrapping it in Functions
Manipulating Images
Challenges
Key Points
Where to Go From Here?
Chapter 13: Adding the Interface
The Starter Project
Choosing Files and Folders
Dragging and Dropping
Showing the File Path
Using sips
Showing the Terminal Output
Resizing Images
The Mac Sandbox Again
Locking the Aspect Ratio
Creating Thumbnails
Challenge
Key Points
Where to Go From Here?
Chapter 14: Automation for Your App
What is Automation?
Adding a Service
Testing the Services Menu
Handling the Service Call
Using the Service
Adding a Shortcut
Using the Shortcut
Key Points
Where to Go From Here?
Chapter 15: Using the Mac App Store
Distribution Options
Setting up your Developer Account
Identifying Your App
Code Signing
Uploading Your App
Configuring the App
TestFlight
Releasing Your App
Checking your Crash Logs
Updating the App
Key Points
Where to Go From Here?
Chapter 16: Distributing Externally
Apple’s Gatekeeper
Exporting the App
Notarizing the App
Wrapping Your App
Selling Your App
Releasing Updates
Troubleshooting
Key Points
Conclusion


πŸ“œ SIMILAR VOLUMES


Nepenthes: iOS&macOS Enterprise App Deve
✍ Xiaohui Li πŸ“‚ Library πŸ“… 2016 πŸ› Everdow 🌐 English

Nepenthes is a sub-middleware for iOS & macOS App development,which sets the standards for java back-end and Objective-C front-end development.Nepenthes back-end is based on Apache Tomcat or other J2EE compatible middleware by extends Nepenthes library.Nepenthes front-end is mapping to back-end with

Karma-based API on Apple Platforms: Buil
✍ Manuel Carrasco Molina πŸ“‚ Library πŸ“… 2019 πŸ› Apress 🌐 English

<p>Leverage the best techniques provided by Apple to build apps with maximum privacy for your users. This book explores not only the how-to steps for implementing privacy in your apps, but also answers workflow questions about what information you actually need.<p>Do you need full access to a device

macOS Programming for Absolute Beginners
✍ Wallace Wang πŸ“‚ Library πŸ“… 2017 πŸ› Apress 🌐 English

<p class="description">Learn how to code for the iMac, Mac mini, Mac Pro, and MacBook using Swift, Apple's hottest programming language.Fully updated to cover the new MacBook Touch Bar, macOS Programming for Absolute Beginners will not only teach complete programming novices how to write macOS progr

macOS Programming for Absolute Beginners
✍ Wallace Wang (auth.) πŸ“‚ Library πŸ“… 2017 πŸ› Apress 🌐 English

<p>Learn how to code for the iMac, Mac mini, Mac Pro, and MacBook using Swift, Apple's hottest programming language.<br>Fully updated to cover the new MacBook Touch Bar, <i>macOS Programming for Absolute Beginners</i> will not only teach complete programming novices how to write macOS programs, but