Post

Replies

Boosts

Views

Activity

Reply to TextField inside a List does not respect certain styling when in edit mode
I hit the same problem as the OP (and I'm considering posting my code as open source in a bit). While editing text fields embedded in a List, the background turns white behind the text field (unexpected and unfortunate, when the background of my list and the text fields are a color other than white). But to get OP to jump over the problem, add this: extension NSTextView { open override var frame: CGRect { didSet { backgroundColor = .clear drawsBackground = true } } } The problem with adding this to your SwiftUI code is that it will set the backgroundColor to clear for ALL other AppKit NSTextViews. You can't set a private access modifier on this extension which has an open var. So this problem is still an open issue for me. edit: I'm wondering if the OP has the same application setup as me -- where I am embedding a SwiftUI view via a NSHostingView inside a regular NSWindow alongside other (non-SwiftUI) NSViews. When it's a pure SwiftUI app, I do not see this problem when editing text fields.
Aug ’24
Reply to Keychain Sharing among Developer Cert signed apps
Getting closer to working. I got cloud signing permissions enabled on my team account, plus I can now create certificate/profiles (which I couldn't do before). The main app (first built years ago) uses an old application identifier prefix that's separate/different from the team identifier. But the "Register an App ID" screen in my developer account has a dropdown that shows all possible app prefixes, not just the team ID. Nice! So now old main app A and brand new demo app B both have matching prefixes and a keychain-access-group of something like RR3K76LW2Q.com.myke.shareditems. Even after fully deleting the previous demo app from before and reinstalling a new app with a manual provisioning profile (the "iOS App Development" radio button was selected when registering the new profile)) , I'm still getting -34018 errors when trying to fetch the shared items.
Sep ’23
Reply to App Privacy Report, can't find it in Settings>Privacy of iOS
At 14:44 in the Apple's privacy pillars in focus session, Garrett says App Privacy Report is coming in an update to iOS 15… so this isn’t public to developers yet.   What IS public now is “Save App Activity” reachable after enabling Record App Activity in the Privacy settings. That exports a JSON file (which you can send anywhere via the standard iOS share sheet) with the same data that will presumably be parsed by the upcoming App Privacy Report feature. Garrett goes into detail about what's in the JSON at 16:08 in the video. hope this helps!
Jul ’21