(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:
| import SwiftUI | |
| struct Day16: View { | |
| @State private var sidebarSelection: Int? | |
| @State private var path = NavigationPath() | |
| /// Acts as a floor on what column is on top when collapsed | |
| @State private var topColumn: NavigationSplitViewColumn = .content | |
| @State private var vis: NavigationSplitViewVisibility = .all | |
| var body: some View { |
| import SwiftUI | |
| struct Day8: View { | |
| @State private var path: [String] = [] | |
| @State var presentedItem: Int? = nil | |
| var body: some View { | |
| NavigationStack(path: $path) { | |
| List { | |
| NavigationLink("Value-destination Link", value: "Hello") |
| import UIKit | |
| // Swift 4.2 Xcode 10 | |
| //: ## Optional Patterns | |
| func aLegacyObjcFunction() -> String! { | |
| return "I wasn't annotated with modern objc conventions!" | |
| } | |
| func myFunction() -> String { |