Post

Replies

Boosts

Views

Activity

Reply to Bug in iOS 18 with NSTimeZone and DatePicker
Seattle and SF are in the same time zone, so why would they have different timezoneOffset values? Also, what does -29359 even mean? It translates to -8.1527… hours, which isn’t a meaningful time zone offset. Since you are curious, this is an app I started developing in 2011, and it was beleaguered with every imaginable edge case with regard to time zones and daylight saving time. My app is all about converting solar time to whatever time zone you want to look at sometime from, in whatever calendar, in any time past or present, which often involves crossing every possible arbitrary human-made boundary in time and space. Being able to create a standardized time zone based on the location (converted to seconds from GMT), allowed me to do certain data conversions to get the day without having to worry about whether or not daylight saving was in effect at one calendar date but not another that the date picker might choose. And it worked fine for many years until the latest iOS. Presumably Apple had a reason for introducing the ability to create time zones based on seconds from GMT, and I found it useful. So, I hope that answers your question. This bug continues to plague my app and I get complaints almost daily from users since iOS 18 came out. What's really strange though is that the bug appears to be in the way the Date Picker handles the calendar set to this time zone in the appearance of the picker. The month set as February appears as January but returns as February, so it is as if the visual month is one off. It would be a lot less weird if it was the day that was one off, but it's the month!
Topic: UI Frameworks SubTopic: UIKit Tags:
Jan ’25
Reply to Lost data in UserDefaults
I'm also experiencing this same issue using UserDefaults with iOS 15. It only happens to some users and it's not easily reproducible. I'm not sure what to do because my original implementation involved writing a custom file in plist format that also stopped working reliably with iOS 15.
Topic: App & System Services SubTopic: General Tags:
Nov ’21
Reply to Opening Last Project Shows Red Project
I'm having the same problem in Xcode 13.1 with my .xcodeproj file in the project navigator. It always shows up in red with no other files in the project navigator when I open Xcode. If I then close the project, and re-open it from the "File > Open Recent..." menu, it displays normally, with any other files.
Oct ’21
Reply to xcode file is in red
I'm having the same problem in Xcode 13.1 with my .xcodeproj file in the project navigator. It always shows up in red with no other files in the project navigator when I open Xcode. If I then close the project, and re-open it from the "File > Open Recent..." menu, it displays normally, with any other files.
Oct ’21