Launch App from your Command Line Utility
Sep 7, 2021, 2:00 PM
15:28
In Part 3, we'll show how to launch your Mac app from the command line utility and then communicate with it with what we learned in Part 2.
Part 1: https://www.youtube.com/watch?v=hPEDjbb_BD0
Part 2:...
Command Line to Mac App Communication
Aug 31, 2021, 2:00 PM
21:32
In this video we talk about how we can use CFMessagePort to communicate from our command line utility to our Mac application. This is part 2 of the 3 part series.
Part 1: https://www.youtube.com/watch?v=hPEDjbb_BD0
Part 3:...
Embed Command Line Tool in Mac App
Jul 30, 2021, 1:00 PM
24:29
How to embed a command line tool within a Cocoa or SwiftUI Mac app. We'll see how we can use the GUI app to install a command line tool so that we can execute it via Terminal.
Part 2: https://www.youtube.com/watch?v=pjfK9h8BOKw
Part 3:...
DispatchWorkItem
May 27, 2021, 12:00 PM
12:15
How to cancel GCD (Dispatch) operations using DispatchWorkItem.
Twitter: https://twitter.com/LucasDerraugh
GitHub: https://github.com/lucasderraugh
Patreon: https://patreon.com/appleprogramming
Site: http://appleprogramming.com
Built It — Welcome Window 4
May 7, 2021, 10:00 PM
32:48
We wrap up our implementation of the Welcome Window showing how to wrap it in a framework and use it from a document-based app.
Twitter: https://twitter.com/LucasDerraugh
GitHub: https://github.com/lucasderraugh
Patreon:...
Build It — Welcome Window 3
Mar 11, 2021, 6:00 PM
22:52
In this video we implement the table view (right side) of the Welcome to Xcode window.
Twitter: https://twitter.com/LucasDerraugh
GitHub: https://github.com/lucasderraugh
Patreon: https://patreon.com/appleprogramming
Site:...
Build It — Welcome Window 2
Mar 4, 2021, 4:00 PM
25:37
The second Welcome Window video showing how we can implement the main contents view.
Twitter: https://twitter.com/LucasDerraugh
GitHub: https://github.com/lucasderraugh
Patreon: https://patreon.com/appleprogramming
Site:...
Build It — Welcome Window 1
Feb 25, 2021, 1:30 PM
19
We're building Xcode's welcome window from scratch using AppKit. Join me on the journey of building more complex components for macOS.
Twitter: https://twitter.com/LucasDerraugh
GitHub: https://github.com/lucasderraugh
Patreon:...
Cocoa Programming L93 - Big Sur Window & Toolbar
Jan 25, 2021, 12:00 PM
06:21
We cover some of the API changes to NSWindow and NSToolbarItem in Big Sur.
Twitter: https://twitter.com/LucasDerraugh
GitHub: https://github.com/lucasderraugh
Patreon: https://patreon.com/appleprogramming
Site:...
Cocoa Programming L92 - SF Symbols
Jan 1, 2021, 3:00 PM
08:35
How to use SF Symbols in Big Sur along with NSFont improvements.
WWDC SF Symbols Talk: https://developer.apple.com/videos/play/wwdc2020/10207/
SF Symbols Application: https://developer.apple.com/sf-symbols/
Twitter:...
Cocoa Programming L91 - NSTableView Big Sur Updates
Dec 18, 2020, 11:30 PM
07:07
Big Sur updates to NSTableView. We talk about NSTableView styles and NSTableViewDiffableDataSource.
NSCollectionView diffable data source tutorial:
https://www.youtube.com/watch?v=-WqbJ0Iihkc&t=178s
Twitter:...
Cocoa Programming L90 - Custom Search Suggestions Window
Dec 14, 2020, 1:30 PM
27
How to create a custom search suggestions window in Cocoa. This talk was originally put on by the Back to the Mac conference, found here: https://www.youtube.com/channel/UCqiRMXmkXN1KDrX4WYlS5rw
Twitter:...
Cocoa Programming L89 - Keychain Access
Sep 30, 2020, 3:00 PM
16:21
How to save and retrieve passwords from Keychain. We use Local Authentication that we talked about in the previous tutorial found here: https://www.youtube.com/watch?v=RVL5srr4BQc&list=PLE83F832121568D36&index=88
Twitter:...
Cocoa Programming L88 - Touch ID Authentication
Sep 17, 2020, 2:00 PM
07:56
How to use the Local Authentication framework to authenticate using Watch, Touch ID, or password fallback. In the next video we'll cover how to integrate this with Keychain.
Twitter: https://twitter.com/LucasDerraugh
GitHub:...
Responder Chain 6 — Daniel de Haas
Aug 27, 2020, 4:00 PM
24:40
Today we talk with Daniel de Haas about a cool app he's built called Keysmith.
Keysmith Website: https://keysmith.app
Keysmith Twitter: https://twitter.com/keysmithapp
Daniel's Twitter: https://twitter.com/dehaasde
Co-founder Twitter:...
Cocoa Programming L87 - NSFilePromiseProvider
Aug 15, 2020, 4:00 PM
14
How to provide file promises to external applications.
Apple source code for file promises:
https://developer.apple.com/documentation/appkit/documents_data_and_pasteboard/supporting_drag_and_drop_through_file_promises
Twitter:...
Cocoa Programming L86 - NSFilePromiseReceiver
Jul 27, 2020, 3:00 PM
18:55
How to receive file promises from drag and drop using NSFilePromiseReceiver. We'll show how to accept both local file URLs and file promises.
Apple source code for file...
Why is macOS great?
Jul 18, 2020, 4:00 PM
19:34
I want to deep dive into some core reasons macOS applications are different than just an iOS app running on macOS. This has nothing to do with frameworks and everything to do with usability.
If you enjoy this content, consider following...
Responder Chain 5 — Ivan Sapozhnik
Jul 6, 2020, 1:00 PM
26:09
Ivan and I talk about his work on NSWindow for creating menu bar applications that behave like they should on macOS.
Ivan's Info
Site: https://isapozhnik.com
Popover: https://github.com/iSapozhnik/Popover
Menu:...
Responder Chain 4 — Malin Sundberg
Jun 15, 2020, 1:00 PM
01:09
This episode of responder chain features Malin Sundberg where we discuss SwiftUI for macOS.
Malin's Info:
Orbit: https://timeinorbit.com
Twitter: https://twitter.com/malinsundberg
Cup of Tech Podcast: http://cupof.tech
We Like Games...
Cocoa Programming L85 - Open/Save Panel Accessory View
Jun 11, 2020, 3:30 PM
10:38
How to add an accessory view to NSOpenPanel or NSSavePanel. We walk through creating one similar to that of Xcode's new project creation flow.
Twitter: https://twitter.com/LucasDerraugh
GitHub: https://github.com/lucasderraugh
Patreon:...
Cocoa Programming L84 - NSPreferencePane
Jun 2, 2020, 2:11 PM
10:41
How to create a System Preferences preference pane.
Twitter: https://twitter.com/LucasDerraugh
GitHub: https://github.com/lucasderraugh
Patreon: https://patreon.com/appleprogramming
Site: http://appleprogramming.com
Microphone -...
Cocoa Programming L83 - Symbolicate Crash Logs
May 15, 2020, 12:00 PM
13:01
How to symbolicate crash logs for Mac apps. We manually symbolicate crashes using CLI and then talk about a more automated way using MacSymbolicator. Make sure you keep those dSYM files.
Manual Approach:...
Cocoa Programming L82 - App Notarization
May 8, 2020, 2:00 AM
17:19
How to notarize your macOS applications via Xcode or with the command line interface.
Notarization overview and using Xcode:
https://developer.apple.com/documentation/xcode/notarizing_macos_software_before_distribution
Custom...
Responder Chain 3 — Itai Ferber
May 4, 2020, 1:00 PM
49:42
My previous roommate, Itai Ferber, stops in to talk about his past experience with macOS, his time on Apple's Foundation team developing Swift Codable, and working remote.
Itai's Information:
https://www.ynab.com
My Information:
Twitter:...
Cocoa Programming L81 - NSTabViewController
Apr 24, 2020, 2:15 PM
18:18
How to use an NSTabViewController to switch between multiple views programmatically as well as in a toolbar/tab setting such as a preference pane.
Twitter: https://twitter.com/LucasDerraugh
GitHub:...
Responder Chain 2 - Leo Dion
Apr 20, 2020, 1:00 PM
42:08
In this second episode we're talking with Leo Dion about asset catalogs. Leo has created Speculid which helps to fill asset catalogs from designer assets such as Sketch, SVG files, and...
Cocoa Programming L80 - Field Editor
Mar 27, 2020, 3:00 PM
23:42
A lengthy discussion on various ways you can customize the field editor (NSTextView) when editing inside of NSTextField.
Field Editor Documentation:...
Responder Chain — Paulo Andrade
Mar 16, 2020, 1:00 PM
37:33
Welcome to Responder Chain!
Our first episode features Paulo Andrade, developer for Secrets – Password Manager. We talk about what motivated him to become a Mac developer and then how he handles choosing to swap or push a view controller...
Cocoa Programming L79 - Key View Loop
Mar 13, 2020, 5:00 PM
16:05
How to manipulate the key view loop to change where focus moves when pressing the tab key (or shift-tab) on macOS.
Be sure to test your apps using tab between all controls set in System Preferences. As always, all code can be found on...
Cocoa Programming L78 - NSTokenField
Feb 28, 2020, 5:00 PM
19:39
How to use NSTokenField to make a token interface similar to the compose window's "To" field in Mail.app.
Twitter: https://twitter.com/LucasDerraugh
GitHub: https://github.com/lucasderraugh
Patreon:...