Post

Replies

Boosts

Views

Activity

Reply to Swift Regex too slow als grep replacement?
I tried to post a further reply last week but the Submit button seemed to be disabled. I've just read this thread, which seems to explain that forum bug: https://developer.apple.com/forums/thread/728466 So here is the post that I tried to send last week, except that I've replaced the string that I'm not allowed to mention with nonsense: I note that none of your regular expressions actually need to be regular expressions, i.e. they are just fixed text strings. For example, where you have "non.sense", I think you only want it to literally match "non.sense", not "non0sense". Since I like a challenge, I've just tried to do this in C++. Using simple string searching for the patterns, I can process a 100 MB file in 0.165 seconds. But if I just replace the date search with a fixed-string regex, the runtime increases to about 3 seconds. (Which I find pretty poor.) It is interesting that this is about the same as the runtime you are seeing. It would not surprise me if Swift and Clang's libc++ share the same (poor) regex implementation.
Topic: Programming Languages SubTopic: Swift Tags:
Jul ’23
Reply to QR Code Deep Links?
I think I understand now that QR code services build in extra linking data, so it first routes the deep link to their service site for tracking and analytics purposes. I didn't even know that such (dis)services existed, though I guess it shouldn't surprise me.
Topic: App & System Services SubTopic: General Tags:
Jul ’23
Reply to Apple Vision Pro for Medical Purposes
If you're proposing to make an app for internal use within your lab, then it doesn't need to go through App Review. As @KTRosenberg points out, Apple have said that they are not exposing eye tracking information. But clearly the device does track eyes and some levels of the software have access to that. It may be that access to the eye tracking data is controlled by an "entitlement". It's possible that you may be able to enable this entitlement for your own not-app-reviewed apps. It may even be that they will have a system where you can apply to enable this entitlement for reviewed apps. Or not. If I were you, I'd file a bug asking for access to eye tracking data enabled by an entitlement that you can enable for your own devices.
Jul ’23
Reply to QR Code Deep Links?
Try this: I created it using qrencode as follows: $ qrencode -o qrnz.png 'https://3dmapapp.nz/map?lat=-43.57&lon=170.22&zoom=12' That is a universal link for my app "3D Map New Zealand". On my phone where the app is installed, if I view the code with the camera, it opens the app. Assuming that you're not one of the about 4 people who have ever bought the app, maybe it will open the App Store for you (let me know!).
Topic: App & System Services SubTopic: General Tags:
Jul ’23
Reply to QR Code Deep Links?
I cannot find a QR code generator that will allow us to enter an Apple Universal Link. "Universal Links" are regular HTTPS URLs, so every QR code generator should be able to create them. (I use a trivial command-line utility called qrencode; its probably on homebrew.) Having said that, I don't know for sure that if e.g. the camera app views a QR code for a universal link, it will actually invoke the associated app. If I recall correctly, typing a universal link URL into the Safari address bar does not launch the associated app.
Topic: App & System Services SubTopic: General Tags:
Jun ’23
Reply to Delay in responding to emails
I do not know whether you are from the technical support of Apple developers or not Not. Apple people have different icons next to their names. ... application that was rejected more than once by Apple and the reason was for a previous problem that was solved, and I write that the problem has been solved ... When you've solved the problem, you need to re-submit the app to App Review for them to consider again. You can't initiate this just by emailing someone.
Jun ’23
Reply to Pricing of individual non-consumables and packs of non-consumables.
Would this configuration of in app purchses pass review? Probably, though you would need to be very clear in your "review notes" about how to purchase them. I.e. in your review notes for the "pack of n", you would need to write "IMPORTANT: this IAP is only shown in the user interface to users who have already purchased particular combinations of other IAPs. So before you can purchase this, you must follow the following steps to purchase other IAPS: 1.... 2.... 3.... 4... 5.... 6... . Now, when you do XYZ, you will see a button "Buy Pack of N". Tap this to purchase this IAP. After completing the app store purchase process, If you now tap JKLMNOP you will see QWERTY, as shown in the attached screenshot, indicating that the purchase has completed." Suggestion: write out these instructions, then see if a random friend can follow them having never seen your app before.
Jun ’23
Reply to Swift Regex too slow als grep replacement?
I tried to post a further reply last week but the Submit button seemed to be disabled. I've just read this thread, which seems to explain that forum bug: https://developer.apple.com/forums/thread/728466 So here is the post that I tried to send last week, except that I've replaced the string that I'm not allowed to mention with nonsense: I note that none of your regular expressions actually need to be regular expressions, i.e. they are just fixed text strings. For example, where you have "non.sense", I think you only want it to literally match "non.sense", not "non0sense". Since I like a challenge, I've just tried to do this in C++. Using simple string searching for the patterns, I can process a 100 MB file in 0.165 seconds. But if I just replace the date search with a fixed-string regex, the runtime increases to about 3 seconds. (Which I find pretty poor.) It is interesting that this is about the same as the runtime you are seeing. It would not surprise me if Swift and Clang's libc++ share the same (poor) regex implementation.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jul ’23
Reply to QR Code Deep Links?
I think I understand now that QR code services build in extra linking data, so it first routes the deep link to their service site for tracking and analytics purposes. I didn't even know that such (dis)services existed, though I guess it shouldn't surprise me.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’23
Reply to Apple Vision Pro for Medical Purposes
If you're proposing to make an app for internal use within your lab, then it doesn't need to go through App Review. As @KTRosenberg points out, Apple have said that they are not exposing eye tracking information. But clearly the device does track eyes and some levels of the software have access to that. It may be that access to the eye tracking data is controlled by an "entitlement". It's possible that you may be able to enable this entitlement for your own not-app-reviewed apps. It may even be that they will have a system where you can apply to enable this entitlement for reviewed apps. Or not. If I were you, I'd file a bug asking for access to eye tracking data enabled by an entitlement that you can enable for your own devices.
Replies
Boosts
Views
Activity
Jul ’23
Reply to QR Code Deep Links?
Try this: I created it using qrencode as follows: $ qrencode -o qrnz.png 'https://3dmapapp.nz/map?lat=-43.57&lon=170.22&zoom=12' That is a universal link for my app "3D Map New Zealand". On my phone where the app is installed, if I view the code with the camera, it opens the app. Assuming that you're not one of the about 4 people who have ever bought the app, maybe it will open the App Store for you (let me know!).
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’23
Reply to QR Code Deep Links?
I cannot find a QR code generator that will allow us to enter an Apple Universal Link. "Universal Links" are regular HTTPS URLs, so every QR code generator should be able to create them. (I use a trivial command-line utility called qrencode; its probably on homebrew.) Having said that, I don't know for sure that if e.g. the camera app views a QR code for a universal link, it will actually invoke the associated app. If I recall correctly, typing a universal link URL into the Safari address bar does not launch the associated app.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’23
Reply to Delay in responding to emails
I do not know whether you are from the technical support of Apple developers or not Not. Apple people have different icons next to their names. ... application that was rejected more than once by Apple and the reason was for a previous problem that was solved, and I write that the problem has been solved ... When you've solved the problem, you need to re-submit the app to App Review for them to consider again. You can't initiate this just by emailing someone.
Replies
Boosts
Views
Activity
Jun ’23
Reply to Pricing of individual non-consumables and packs of non-consumables.
Would this configuration of in app purchses pass review? Probably, though you would need to be very clear in your "review notes" about how to purchase them. I.e. in your review notes for the "pack of n", you would need to write "IMPORTANT: this IAP is only shown in the user interface to users who have already purchased particular combinations of other IAPs. So before you can purchase this, you must follow the following steps to purchase other IAPS: 1.... 2.... 3.... 4... 5.... 6... . Now, when you do XYZ, you will see a button "Buy Pack of N". Tap this to purchase this IAP. After completing the app store purchase process, If you now tap JKLMNOP you will see QWERTY, as shown in the attached screenshot, indicating that the purchase has completed." Suggestion: write out these instructions, then see if a random friend can follow them having never seen your app before.
Replies
Boosts
Views
Activity
Jun ’23