Post

Replies

Boosts

Views

Activity

Comment on How can I test a QuickLook Preview Extension using Xcode?
Thanks! I sorta got it working. The idea (for others) is to just call the extension code from an app. I'm now stuck on one thing (an Xcode issue). This app I have is creating the QuickLook extension. I'm trying to include the extension code in my app side, but Xcode is only letting me copy or move the file. I tried creating symbolic links to the files, but Xcode then doesn't recognize them as files (WTF?!). Again, thanks! This is a great solution to the problem of testing!
Nov ’25
Comment on User changes Settings for my app, any notification?
Uh, what? I have an iOS App in the Store. I want to know, if while my app is running, and a user of that App goes to Settings, and changes one of MY app's settings, will the system send any kind of UINotification (or App Delegate message) to my App. I can't find anything through searching, but maybe its lurking there and I just didn't trip on it. This is a coding question!
May ’25
Comment on How can I break on this error in Xcode?
I'm on latest iOS 15.5. Building on latest Xcode. Trying to test out some other code in a really large mostly Objective-C app. An no, I don't get a crash just the message. Obviously something is generating it. Why would me making ranges have anything todo with it? I'm bottlenecking it at the bottom of the app. The string length varies from run to run. Even it if was always 43, then what would I do? Bottle neck as I have and test for string length == 43? I'm already testing location.
Jun ’22
Comment on How to read files on an external drive plugged into the Lightning port
Your link to the adapter was the golden key! Now everything works fine for most of my cameras - I get same results using Files as with my own app. Thank you ever so much (I totally did not know about this adapter!) One wrinkle - it seem that one camera does not appear as a FAT storage device, but instead offers a PTP protocol interface that both "Image Capture" and Photos can use on the Mac, and also Photos on iOS. But - is there anyway using any iOS device (like one with a USB-C) or any adapter/cable - so my app could also use PTP to retrieve files? [Previous unanswered question in this but its years old: On iPad Pro, is there any way to access USB device by PTP/MPT with USB-C “wired” connection?
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’21
Comment on How to read files on an external drive plugged into the Lightning port
I finally got some time to play around with this. My ultimate goal is to let users of 360 cameras pull files via a wire, which has to be a lot faster than using HTTP. In any case, I have a few 360 cameras with micro-USB connectors. I can plug them into my Mac, and because the camera exposes its storage as a MS-FAT storage device, the Mac can examine the directories and see all the files. I have a known good Lightning <-> USB-Micro cable (Insta brand, have used it to wire the Insta camera to my App as an External Accessory). When I plug the camera into the Mac, it flashes a blue LED to indicate a connection. When I plug the same camera into my iPhone, running the test app I wrote, it never appears in the Browser "Locations" list. I tried multiple cameras, restarting my app after the connection, etc. Never changes. I'm now fearing that iOS cannot mount a FAT formatted storage device. Is all hope lost? CODE: let documentPicker = UIDocumentPickerViewController(forOpeningContentTypes: [UTType.directory, UTType.mpeg4Movie], asCopy: true) // ios14 documentPicker.delegate = self documentPicker.allowsMultipleSelection = false documentPicker.modalPresentationStyle = .fullScreen present(documentPicker, animated: true, completion: nil)
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’21
Comment on How can I test a QuickLook Preview Extension using Xcode?
Thanks! I sorta got it working. The idea (for others) is to just call the extension code from an app. I'm now stuck on one thing (an Xcode issue). This app I have is creating the QuickLook extension. I'm trying to include the extension code in my app side, but Xcode is only letting me copy or move the file. I tried creating symbolic links to the files, but Xcode then doesn't recognize them as files (WTF?!). Again, thanks! This is a great solution to the problem of testing!
Replies
Boosts
Views
Activity
Nov ’25
Comment on User changes Settings for my app, any notification?
Thank you!!! Actually I can compare the old value with a potential new one and only post a notification if something of interest has changed.
Replies
Boosts
Views
Activity
May ’25
Comment on User changes Settings for my app, any notification?
Uh, what? I have an iOS App in the Store. I want to know, if while my app is running, and a user of that App goes to Settings, and changes one of MY app's settings, will the system send any kind of UINotification (or App Delegate message) to my App. I can't find anything through searching, but maybe its lurking there and I just didn't trip on it. This is a coding question!
Replies
Boosts
Views
Activity
May ’25
Comment on What does the Xcode "Minimize Project References" checkbox do?
THANK YOU!
Replies
Boosts
Views
Activity
Apr ’25
Comment on iPad SearchBar suddenly moved from centered low to the right of rightBarButtons
Thanks! It occurred to me after posting this might be the case. But why Apple is the default in ios16 different than the past? Lots of pissed off customers…
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Feb ’23
Comment on UIDatePicker iOS 14 compact remove default background
iOS 15 having to put this view as subview 1 - 0 doesn't work for the date view.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’22
Comment on How can I break on this error in Xcode?
I'm on latest iOS 15.5. Building on latest Xcode. Trying to test out some other code in a really large mostly Objective-C app. An no, I don't get a crash just the message. Obviously something is generating it. Why would me making ranges have anything todo with it? I'm bottlenecking it at the bottom of the app. The string length varies from run to run. Even it if was always 43, then what would I do? Bottle neck as I have and test for string length == 43? I'm already testing location.
Replies
Boosts
Views
Activity
Jun ’22
Comment on Working code that uses "rtsp" seems to have broken recently
I thoroughly searched the project and can find no protocol extension to handle this. All I can conclude at this time is that the original developers, years ago, discovered themselves that they could not get rtsp to work, but then just left the code they had written in the app. Its just so bizarre! Thanks so much for your response!
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’21
Comment on How to read files on an external drive plugged into the Lightning port
Your link to the adapter was the golden key! Now everything works fine for most of my cameras - I get same results using Files as with my own app. Thank you ever so much (I totally did not know about this adapter!) One wrinkle - it seem that one camera does not appear as a FAT storage device, but instead offers a PTP protocol interface that both "Image Capture" and Photos can use on the Mac, and also Photos on iOS. But - is there anyway using any iOS device (like one with a USB-C) or any adapter/cable - so my app could also use PTP to retrieve files? [Previous unanswered question in this but its years old: On iPad Pro, is there any way to access USB device by PTP/MPT with USB-C “wired” connection?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on How to read files on an external drive plugged into the Lightning port
I finally got some time to play around with this. My ultimate goal is to let users of 360 cameras pull files via a wire, which has to be a lot faster than using HTTP. In any case, I have a few 360 cameras with micro-USB connectors. I can plug them into my Mac, and because the camera exposes its storage as a MS-FAT storage device, the Mac can examine the directories and see all the files. I have a known good Lightning <-> USB-Micro cable (Insta brand, have used it to wire the Insta camera to my App as an External Accessory). When I plug the camera into the Mac, it flashes a blue LED to indicate a connection. When I plug the same camera into my iPhone, running the test app I wrote, it never appears in the Browser "Locations" list. I tried multiple cameras, restarting my app after the connection, etc. Never changes. I'm now fearing that iOS cannot mount a FAT formatted storage device. Is all hope lost? CODE: let documentPicker = UIDocumentPickerViewController(forOpeningContentTypes: [UTType.directory, UTType.mpeg4Movie], asCopy: true) // ios14 documentPicker.delegate = self documentPicker.allowsMultipleSelection = false documentPicker.modalPresentationStyle = .fullScreen present(documentPicker, animated: true, completion: nil)
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’21