Post

Replies

Boosts

Views

Activity

Reply to Why is @Binding not behaving as I expect here?
I've also found that swiftUI's refreshing had gone wrong somehow if I do this: List($someSortOfADynamicList) { $item in TextField("Placeholder...", text: $item.someSortOfAStringVariable) } it'll act very weird. Every time a value is changed, the current textfield focused defocused. And if you use a NavigationView, the current NavigationLink gets unfocused, that is, no view displayed in the destination page.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’22
Reply to SwiftUI Form space between two buttons
Use form: Form {     Section("If you have a title add here") {         Button {                      } label: {             Label("Test", systemImage: "circle.fill")             }     Section {         Button(role: .destructive) {                      } label: {             Label("Test", systemImage: "trash.fill")         }     } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’22
Reply to Integrating external 3d sources or links with SwiftUI
SceneView: import SceneKit import SwiftUI ...         SceneView(             scene: /* a scene in SCNScene or other formats (I remember you can use .obj, etc.) */,             options: [             .allowsCameraControl,             .autoenablesDefaultLighting .someOtherOption             ] ...         )
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’22
Reply to Opening a SwiftUI app window to a particular place via intent?
I think only OpenWindow works and you can maybe...communicate with your app through some sort of thingy like AppStorage or NotificationCenter? 🫠 As long as I know, even if it's UIKit sort of thing if you import it and it's a function that doesn't relate very much to generating a UI, it'll work. Folks have done things like modifying navigational view details and others through these.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’22
Reply to Why SFSymbol "face.smiling" will changed to "face.smiling.fill" when switching to dark mode.
Environment Variable? I know in SwiftUI you can: struct SmileyFaceView: View {     @Environment(\.colorScheme) var scheme     var body: some View {         Image(systemName: "face.smiling")             .foregroundColor(scheme == .light ? .black : .white) // this is to change to color according to the scheme             .environment(\.colorScheme, .light) // This is to force the icon to the face.smily     } } for your need not sure in UIKit
Topic: Design SubTopic: General Tags:
Sep ’22
Reply to Airplay swiftUI
Watched +1
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’22
Reply to Python not working on Mac OS M1 asking to install cmd developer tools
try python3 on zsh Hardware: Apple silicon
Replies
Boosts
Views
Activity
Aug ’22
Reply to my crash when sleep my mac with monterey 12.5.1
> watchdog 1 Your computer ran itself too hard? PS. use codeblock or your > will look like a quotation block.
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Aug ’22
Reply to get CPU, GPU, Internet connection, etc
OK I've already find out all about CPU, Storage, Battery, thermal state in github I also found out that you can use airport to find out the current WiFi connected and its password. How to get package recieved/sent from the device? Now how can I get the GPU's parameters? Using Metal?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’22
Reply to Why is @Binding not behaving as I expect here?
I've also found that swiftUI's refreshing had gone wrong somehow if I do this: List($someSortOfADynamicList) { $item in TextField("Placeholder...", text: $item.someSortOfAStringVariable) } it'll act very weird. Every time a value is changed, the current textfield focused defocused. And if you use a NavigationView, the current NavigationLink gets unfocused, that is, no view displayed in the destination page.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’22
Reply to swift-frontend memory usage
50 GB ???? *
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’22
Reply to SwiftUI Refreshing Mechanism
Thanks I'm submitting a FB
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’22
Reply to SwiftUI Form space between two buttons
Use form: Form {     Section("If you have a title add here") {         Button {                      } label: {             Label("Test", systemImage: "circle.fill")             }     Section {         Button(role: .destructive) {                      } label: {             Label("Test", systemImage: "trash.fill")         }     } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’22
Reply to Integrating external 3d sources or links with SwiftUI
SceneView: import SceneKit import SwiftUI ...         SceneView(             scene: /* a scene in SCNScene or other formats (I remember you can use .obj, etc.) */,             options: [             .allowsCameraControl,             .autoenablesDefaultLighting .someOtherOption             ] ...         )
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’22
Reply to Opening a SwiftUI app window to a particular place via intent?
I think only OpenWindow works and you can maybe...communicate with your app through some sort of thingy like AppStorage or NotificationCenter? 🫠 As long as I know, even if it's UIKit sort of thing if you import it and it's a function that doesn't relate very much to generating a UI, it'll work. Folks have done things like modifying navigational view details and others through these.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’22
Reply to MacOs Change Identifier
I think it's linked to the hardware. But you can sneak in in the middle and change some, but this might result in a kernel crash... But as long as I know it, Parallel Desktop have that ability.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’22
Reply to Reveal in Finder fails: anything inside home folder only reveals home
which version
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Sep ’22
Reply to No crash reports for Apple Watch in App Store Connect
I also can't launch appstoreconnect.apple.com
Replies
Boosts
Views
Activity
Sep ’22
Reply to Why SFSymbol "face.smiling" will changed to "face.smiling.fill" when switching to dark mode.
Environment Variable? I know in SwiftUI you can: struct SmileyFaceView: View {     @Environment(\.colorScheme) var scheme     var body: some View {         Image(systemName: "face.smiling")             .foregroundColor(scheme == .light ? .black : .white) // this is to change to color according to the scheme             .environment(\.colorScheme, .light) // This is to force the icon to the face.smily     } } for your need not sure in UIKit
Topic: Design SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’22