Do this once
sudo dseditgroup -o create brewCreate a brew group
| set completion-ignore-case On | |
| "\e[B": history-search-forward | |
| "\e[A": history-search-backward |
| // Safely Modifying The View State (SwiftUI) | |
| // https://swiftui-lab.com | |
| // https://swiftui-lab.com/state-changes | |
| import SwiftUI | |
| struct CustomView: View { | |
| var body: some View { | |
| NavigationView { |
| import Cocoa | |
| import Foundation | |
| import AppKit | |
| import CoreFoundation | |
| import ApplicationServices | |
| /// https://jvns.ca/blog/2019/11/25/challenge--make-a-bouncy-window-manager/ | |
| /* | |
| This code runs the following sequence: |
Do this once
sudo dseditgroup -o create brew Create a brew groupDo this once
sudo dseditgroup -o create brew Create a brew groupxed is a command-line tool that launches the Xcode application and opens the given documents (xcodeproj, xcworkspace, etc.), or opens a new document, optionally with the contents of standard input.
If you work from the command line, this tool is a better option than open (which can open Xcode projects as well). Why?
xed knows about the current selected Xcode version (open behaves unpredictably if you have multiple Xcode installed)