This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct ContentView: View { | |
@State var flip = false | |
var body: some View { | |
VStack { | |
Toggle("Refresh", isOn: $flip) | |
.toggleStyle(.switch) | |
StateSubView(model: .init(source: "State subview")) | |
ObservedSubView(model: .init(source: "Observed subview")) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SwiftUI | |
public struct MouseTrackingView: View { | |
public var callbacks: NSMouseTrackingView.Callbacks | |
public var isEnabled: Bool | |
public var options: NSTrackingArea.Options | |
public var hitEnabled: Bool | |
public var flipYAxis: Bool | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct ContentView: View { | |
var body: some View { | |
VStack { | |
StateViewA() | |
StateViewB() | |
StateViewC() | |
StateViewD() | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
------------------------------------- | |
Translated Report (Full Report Below) | |
------------------------------------- | |
Process: Hopper Disassembler v4 [6257] | |
Path: /Applications/Hopper Disassembler v4.app/Contents/MacOS/Hopper Disassembler v4 | |
Identifier: com.cryptic-apps.hopper-web-4 | |
Version: 4.8.2 (4.8.2) | |
Code Type: ARM-64 (Native) | |
Parent Process: launchd [1] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ContentView.swift | |
// AppleLogo | |
// | |
// Created by Oskar Groth on 2021-06-17. | |
// | |
import SwiftUI | |
struct ContentView: View { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Process: Hopper Disassembler v4 [5343] | |
Path: /Applications/Hopper Disassembler v4.app/Contents/MacOS/Hopper Disassembler v4 | |
Identifier: com.cryptic-apps.hopper-web-4 | |
Version: 4.7.3 (4.7.3) | |
Code Type: ARM-64 (Native) | |
Parent Process: launchd [1] | |
User ID: 501 | |
Date/Time: 2021-06-10 13:37:03.5151 +0200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Cocoa | |
import SwiftUI | |
@main | |
struct StatusBugApp: App { | |
@StateObject var coordinator = StatusCoordinator() | |
var body: some Scene { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SwiftUI | |
@main | |
struct SwiftApp: App { | |
@State var someState = false | |
var body: some Scene { | |
WindowGroup { | |
Rectangle() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct ContentView: View { | |
var body: some View { | |
Image(nsImage: NSImage(named: .init(NSImage.applicationIconName))!) | |
.resizable() | |
.frame(width: 100, height: 100) | |
.tapWithHighlight(onTap: { | |
print("Tap") | |
}, onLongPress: { | |
print("Long Press") | |
}) |
NewerOlder