Post

Replies

Boosts

Views

Activity

Comment on Backwards compatibility with buttons in Xcode 13
In the test Xcode 12.5 project that was opened in Xcode 13, if I set the iOS Deployment Target to 15, it works fine. But that means that apps cannot support earlier versions of iOS. That also means that using @available(iOS 15.0, *) becomes meaningless.  The extensions in the 12.5 project do not exist in the test project. No warnings when the project is opened in Xcode 13.
Topic: UI Frameworks SubTopic: UIKit Tags:
Oct ’21
Comment on Backwards compatibility with buttons in Xcode 13
Thank you very much for the reply. I’m not sure if this is considered forward or backwards compatibility. Basically the problem occurs when I add a Xcode 13 button to a Xcode 12.5 project and leave the Deployment Target at 14.x. Also, and I know you’re very busy so please excuse my ignorance but would you please provide some code to help me better understand your answer? I’m not sure what you mean by “As part of the updateConfiguration pass on UIButton”.
Topic: UI Frameworks SubTopic: UIKit Tags:
Oct ’21
Comment on How to set up an auto layout constraint to be a % value
Thank you, Claude. Your first method doesn't make the constraint value a % of the screen width, or does it? I've been using the second method already. I was thinking autolayout word be a better way to go. Most of my UI is set up to make the constraint values a % of the screen height/width. I've been setting the control to centered and adjusting the leading constraint using the screen width/height. Makes for cleaner layout. I guess I'll have to rethink the way I was planning to use autolayout.
Topic: Programming Languages SubTopic: Swift Tags:
Dec ’22
Comment on .main is going to be deprecated
After more testing I've found that this does not run in AppDelegate. It's actually in a func inside AppDelegate that fires when the device is rotated. If you are still willing to help me out, Claude , I can post the complete code. Probably should have done that in the beginning. My bad. let firstScene = window?.windowScene if let w = firstScene as? UIWindowScene { let screenSize = w.screen.bounds print("screenSize", screenSize) }
Topic: Programming Languages SubTopic: Swift Tags:
Dec ’22
Comment on Xcode 15's "Replace Container" feature replaces the container with incorrect permissions?
I updated my iPad to iOS 17.0.3 thinking maybe Apple was on top of this and that this would fix it. No such luck. All I get is a different error. I'm still hosed. BUG IN CLIENT OF libsqlite3.dylib: database integrity compromised by API violation: vnode unlinked while in use: /private/var/mobile/Containers/Data/Application/F69182D8-2930-4882-A8F6-D76179F1E87B.sb-857f9996-cxGWIo/Documents/MY_DB_File.sqlite invalidated open fd: 3 (0x11)
Oct ’23
Comment on Backwards compatibility with buttons in Xcode 13
In the test Xcode 12.5 project that was opened in Xcode 13, if I set the iOS Deployment Target to 15, it works fine. But that means that apps cannot support earlier versions of iOS. That also means that using @available(iOS 15.0, *) becomes meaningless.  The extensions in the 12.5 project do not exist in the test project. No warnings when the project is opened in Xcode 13.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on Backwards compatibility with buttons in Xcode 13
Thank you very much for the reply. I’m not sure if this is considered forward or backwards compatibility. Basically the problem occurs when I add a Xcode 13 button to a Xcode 12.5 project and leave the Deployment Target at 14.x. Also, and I know you’re very busy so please excuse my ignorance but would you please provide some code to help me better understand your answer? I’m not sure what you mean by “As part of the updateConfiguration pass on UIButton”.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on Editing Did End action is firing when alert opens
Thanks for the reply, @Claude31 I tried changing to did end on exit. It didn't fix the problem on iOS 15.6.1 and it caused things to not work correctly on iOS 5.5 too.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’22
Comment on .main is going to be deprecated
Thanks again, Claude.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’22
Comment on How to set up an auto layout constraint to be a % value
Thank you, Claude. Your first method doesn't make the constraint value a % of the screen width, or does it? I've been using the second method already. I was thinking autolayout word be a better way to go. Most of my UI is set up to make the constraint values a % of the screen height/width. I've been setting the control to centered and adjusting the leading constraint using the screen width/height. Makes for cleaner layout. I guess I'll have to rethink the way I was planning to use autolayout.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’22
Comment on .main is going to be deprecated
After more testing I've found that this does not run in AppDelegate. It's actually in a func inside AppDelegate that fires when the device is rotated. If you are still willing to help me out, Claude , I can post the complete code. Probably should have done that in the beginning. My bad. let firstScene = window?.windowScene if let w = firstScene as? UIWindowScene { let screenSize = w.screen.bounds print("screenSize", screenSize) }
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’22
Comment on .main is going to be deprecated
silverthorne@protonmail.com
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’22
Comment on In-App Purchase Restore - No observers found
Thanks for the rely. Where should I add this code?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
May ’23
Comment on In-App Purchase Restore - No observers found
Cannot find 'BOOL' in scope Cannot find 'shouldAddStorePayment' in scope
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
May ’23
Comment on Xcode 15's "Replace Container" feature replaces the container with incorrect permissions?
I updated my iPad to iOS 17.0.3 thinking maybe Apple was on top of this and that this would fix it. No such luck. All I get is a different error. I'm still hosed. BUG IN CLIENT OF libsqlite3.dylib: database integrity compromised by API violation: vnode unlinked while in use: /private/var/mobile/Containers/Data/Application/F69182D8-2930-4882-A8F6-D76179F1E87B.sb-857f9996-cxGWIo/Documents/MY_DB_File.sqlite invalidated open fd: 3 (0x11)
Replies
Boosts
Views
Activity
Oct ’23
Comment on How to handle a non-consumable in app purchase when SKPaymentQueue is deprecated
Is there a UIKit sample code anywhere?
Replies
Boosts
Views
Activity
Jan ’25