Post

Replies

Boosts

Views

Activity

Comment on SwiftUI Transformable: support drag to Finder on macOS
Hi. Would this be required even if I don't have a 'custom type' to define in my app? I just have a list of files with their URLs on disk that I want the user to be able to drag out to Finder. Everything works fine for dragging out to other apps (like Mail, Notes), but not to Finder. In this case, is there a general file extension or MIME type that I would add?
Topic: UI Frameworks SubTopic: General Tags:
Feb ’25
Comment on NSOutlineView with Diffable Data Source
I have a Mac app that uses NSOutlineView in the app's sidebar, which has collapsible 'sections' of items in the sidebar (like in the Apple Music app). It works with regular NSOutlineViewDataSource but I was having a few issues with the implementation, and I was considering replacing that with a DiffableDataSource. However, when initializing `NSTableViewDiffableDataSource', I can't pass in a NSOutlineView. I just want a table view with 'sections' that can be used in the Mac app's sidebar.
Topic: UI Frameworks SubTopic: AppKit Tags:
Dec ’24
Comment on ContactAccessButton and contactAccessPicker in UIKit
What about contactAccessPicker? That seems to be a view modifier. From what I can tell, I have to present a UIHostingViewController, which will then present this view on top of that (causing a double presentation). Is there a way to avoid that, to I present contactAccessPicker directly, without needing to present a separate UIViewController first?
Topic: UI Frameworks SubTopic: General
Aug ’24
Comment on Disable new tab bar look
I filed one (FB13841043) 2 months ago, and was recently updated with a message saying "the behavior you experienced is currently functioning as intended". Basically the recommendation is to use UITabBarController.isTabBarHidden API and create a custom control if you can't work with the new tab bar design. Personally, I think it's ridiculous that they would make major changes to standard behavior that's been around since UIKit was introduced in iOS2.0, without offering a simple opt-out option.
Topic: UI Frameworks SubTopic: General Tags:
Aug ’24
Comment on SwiftUI Transformable: support drag to Finder on macOS
Hi. Would this be required even if I don't have a 'custom type' to define in my app? I just have a list of files with their URLs on disk that I want the user to be able to drag out to Finder. Everything works fine for dragging out to other apps (like Mail, Notes), but not to Finder. In this case, is there a general file extension or MIME type that I would add?
Topic: UI Frameworks SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’25
Comment on NSOutlineView with Diffable Data Source
I have a Mac app that uses NSOutlineView in the app's sidebar, which has collapsible 'sections' of items in the sidebar (like in the Apple Music app). It works with regular NSOutlineViewDataSource but I was having a few issues with the implementation, and I was considering replacing that with a DiffableDataSource. However, when initializing `NSTableViewDiffableDataSource', I can't pass in a NSOutlineView. I just want a table view with 'sections' that can be used in the Mac app's sidebar.
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Dec ’24
Comment on ContactAccessButton and contactAccessPicker in UIKit
What about contactAccessPicker? That seems to be a view modifier. From what I can tell, I have to present a UIHostingViewController, which will then present this view on top of that (causing a double presentation). Is there a way to avoid that, to I present contactAccessPicker directly, without needing to present a separate UIViewController first?
Topic: UI Frameworks SubTopic: General
Replies
Boosts
Views
Activity
Aug ’24
Comment on Disable new tab bar look
I filed one (FB13841043) 2 months ago, and was recently updated with a message saying "the behavior you experienced is currently functioning as intended". Basically the recommendation is to use UITabBarController.isTabBarHidden API and create a custom control if you can't work with the new tab bar design. Personally, I think it's ridiculous that they would make major changes to standard behavior that's been around since UIKit was introduced in iOS2.0, without offering a simple opt-out option.
Topic: UI Frameworks SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’24