Search results for

calendar

1,863 results found

Post

Replies

Boosts

Views

Activity

I have an application that uses Network Extension, and it occasionally triggers a kernel panic, resulting in a complete system freeze.
{bug_type:210,timestamp:2025-07-04 14:19:35.00 +0800,os_version:macOS 15.5 (24F74),roots_installed:0,incident_id:5457889A-1002-4389-BAE6-A447733EFD78} { build : macOS 15.5 (24F74), product : MacBookPro18,4, socId : 6001, socRevision : 11, incident : 5457889A-1002-4389-BAE6-A447733EFD78, crashReporterKey : 4ABE0CA2-C60B-8B0E-557A-C0BDEB1E9144, kernel : Darwin Kernel Version 24.5.0: Tue Apr 22 19:54:49 PDT 2025; root:xnu-11417.121.62/RELEASE_ARM64_T6000, date : 2025-07-04 14:19:35.95 +0800, panicString : panic(cpu 1 caller 0xfffffe00215f28e8): Kernel data abort. at pc 0xfffffe0021310d9c, lr 0x37a67e002116f050 (saved state: 0xfffffe60706d3240)nt x0: 0xfffffe2eaac676f8 x1: 0x0000000000000000 x2: 0xfffffe002116f050 x3: 0x0000000000000002nt x4: 0x0000000000002021 x5: 0xffffffffffffffff x6: 0x0000000000000000 x7: 0x0000006ddf79e068nt x8: 0xf9555cb919b50093 x9: 0x0000000000000000 x10: 0x0000000000000054 x11: 0x0000000000000000nt x12: 0xfffffe002477dfc8 x13: 0x0000000000000001 x14: 0x0000000000000052 x15: 0x0000000000
2
0
375
Jul ’25
EKEventStore on Apple Watch not showing all calendars
EKEventStore on Apple Watch is not giving me all calendars. I can see only calendars of the source 'Subscriptions', but non of the calendars of source CalDAV (iCloud). This problem exists over multiple apps. Code works fine on iPhone. Any ideas? Minimal example code: import SwiftUI import EventKit struct ContentView: View { let eventStore = EKEventStore() @State var success: Bool = false @State var calendarNames: [String] = [String]() func request() async { success = (try? await eventStore.requestFullAccessToEvents()) ?? false } func list() { calendarNames = eventStore.calendars(for: .event).map { $0.title } } var body: some View { VStack { Image(systemName: globe) .imageScale(.large) .foregroundStyle(.tint) Text(Access: (success.description)) ScrollView { ForEach(calendarNames, id: .self) { name in Text(name) } } } .onAppear { Task { await request() list() } } .padding() } }
2
0
805
Jul ’25
Can't execute Software Update:Enforcement:Specific on ADE Macbook
I have enrolled a macbook through ADE to Apple School Manager and register it to the MDM service. Upon sending the initial DeclarativeManagement payload, the device return the client capabilities as below: supported-versions: [ 1.0.0 ], supported-payloads: { declarations: { activations: [ com.apple.activation.simple ], assets: [ com.apple.asset.credential.acme, com.apple.asset.credential.certificate, com.apple.asset.credential.identity, com.apple.asset.credential.scep, com.apple.asset.credential.userpassword, com.apple.asset.data, com.apple.asset.useridentity ], configurations: [ com.apple.configuration.account.caldav, com.apple.configuration.account.carddav, com.apple.configuration.account.exchange, com.apple.configuration.account.google, com.apple.configuration.account.ldap, com.apple.configuration.account.mail, com.apple.configuration.account.subscribed-calendar, com.apple.configuration.legacy, com.apple.configuration.legacy.interactive, com.apple.configuration.management.status-subscriptions, com
1
0
158
Jul ’25
Is there an API to create Notes on OS X ?
Hello,The same way there is a framework and API to add events and reminders to the Mac calendars, I'd like to know if there is an API to create notes from a custom application, so that they will later be accessible through the OS X Notes application ?Thank you.
Topic: UI Frameworks SubTopic: AppKit Tags:
9
0
8.3k
Feb ’22
Update Widget Every Minute
Is this not possible? I have a simple text view that shows the time, but it doesn't stay in sync with the time. I've tried to use a timer like I do inside the app, but that didn't work. I tried TimelineView with it set to every minute, and that didn't work. I tried to use the dynamic date using Text(date, style: ) and that didn't work. I looked it up and apparently it's a limitation to WidgetKit, however, I don't understand how the Apple Clock widget can have a moving second hand that updates properly. Do I just need to add a bunch of entries in the TimelineProvider? Right now, it's just the default that gets loaded when you create a Widget extension. func timeline(for configuration: SingleClockIntent, in context: Context) async -> Timeline { var entries: [SingleClockEntry] = [] // Generate a timeline consisting of five entries an hour apart, starting from the current date. let currentDate = Date() for hourOffset in 0 ..< 5 { let entryDate = Calendar.current.date(byAdding: .hour, value: hourOffset, to:
3
0
127
Jul ’25
Reply to How to listen for Locale change event in iOS using NSLocale.currentLocaleDidChangeNotification?
Great question! Changes to the Preferred Languages or App Language almost always cause the app to be quit, as these changes can cause the Bundle to get reloaded, which necessitates the process to be relaunched in order for the change to take effect. In these cases, your app may not receive the currentLocaleDidChangeNotification beforehand. The cases in which you would receive currentLocaleDidChangeNotification is when you go into Language & Region settings and change other properties such as Calendar, Temperature Unit, etc. which can change without necessitating apps to be relaunched. Hope this helps!
Topic: UI Frameworks SubTopic: UIKit Tags:
Jun ’25
Swift Charts: How to prevent scroll position jump when loading more data dynamically
I'm implementing infinite scrolling with Swift Charts where additional historical data loads when scrolling near the beginning of the dataset. However, when new data is loaded, the chart's scroll position jumps unexpectedly. Current behavior: Initially loads 10 data points, displaying the latest 5 When scrolling backwards with only 3 points remaining off-screen, triggers loading of 10 more historical points After loading, the scroll position jumps to the 3rd position of the new dataset instead of maintaining the current view Expected behavior: Scroll position should remain stable when new data is loaded User's current view should not change during data loading Here's my implementation logic using some mock data: import SwiftUI import Charts struct DataPoint: Identifiable { let id = UUID() let date: Date let value: Double } class ChartViewModel: ObservableObject { @Published var dataPoints: [DataPoint] = [] private var isLoading = false init() { loadMoreData() } func loadMoreData() { guard !isLoading else { re
6
0
539
Jun ’25
Reply to Charts - Exclude dates on x-axis
Swift Charts doesn't support interrupted scales. If you need a piecewise continuous scale, fairly common in finance (such as showing market hours only) you can model your time scale via Double values that represent market time (eg. market hours). Like some epoch time, but it's only incremented when the markets are open. Friday afternoon plus 1 (1 hour) lands you on Monday morning. In this case you are responsible for maintaining the mapping between your market epoch time and whatever wall time that corresponds to. For example, you'd determine Double values for where you want axis ticks, tick labels and grid lines, and you'd map from the Double back to eg. a calendar Date to then format that as an axis tick label. Similarly, if you use selection on the chart (.chartXSelection) you'd need to map the Double back to the way you represent time in your data. An option: instead of using a Double, you can use other numeric types, or conform your own custom time type that represents market time to the Plottab
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jun ’25
Apple Script to Automate Web Page Plot Data
Can someone please help me: I do not have the brain space (85yo) to figure out an Apple Script or Java Script app to do this simple task. I have spent a few hours each day, over several days, and have made zero progress on such an apparently simple task. I wish to create an Automator App for the macOS Safari browser that will schedule (via a Calendar Event) the download of the 48hr data behind the hourly Fuel Mix Plot Data from the AEMO Web Site, every Monday, Wednesday, Friday and Sunday. Here is the link to the AEMO web site: AEMO, Energy Systems, Electricity, National Electricity Market (NEM), Data (NEM),Data Dashboard https://www.aemo.com.au/energy-systems/electricity/national-electricity-market-nem/data-nem/data-dashboard-nem The 48 hour hourly Fuel Mix data is found by selecting the Fuel Mix button (which by default will display the NEM Current Trend). The 48 hour trend is displayed by tapping on the small Current pulldown menu, and selecting 48 hrs. The 48hr Data is down loaded by selecting th
2
0
151
Jun ’25
different panels.
If I have, say a doctor appointment in the Calendar app, and I'm leaving to go to it, the address will appear in Apple Maps on CarPlay. Forgive if I'm getting the details wrong, but I believe if I bring up the Map, it will be available to tap on, so I can quickly go there. I think it may also show up on one on the car-play screens that shows a few different panels.
1
0
42
Jun ’25
WeatherKit Apple Weather trademark and legal link.
I have read the WeatherKit docs and watched the Meet WeatherKit WWDC video but it is not clear where the trademark and legal link need to be displayed. Can someone at Apple please clarify this. The docs state: If your apps, web apps, or websites display any Apple weather data, you must clearly display the Apple Weather trademark, as well as the legal link to other data sources. I have a calendar style app on the App Store and want to incorporate weather data as simple icons into the day, week, month views with in the app. Is it ok to just display the trademark and legal link in the app's Settings view where a user would first turn on this weather feature? Or does it have to be displayed on every single view where weather data is displayed? Even if that data is just displaying a simple Sun or Cloud or Rain symbol to the user. Thanks.
4
0
2.5k
Oct ’23
nquiry About the Apple Small Business Program Commission Rate Adjustment Timeline
Regarding the Small Business Program (https://developer.apple.com/cn/app-store/small-business-program/#faq), I have a question about the policy statement: If a participating developer surpasses the 1 million USD threshold in the current calendar year, the standard commission rate will apply to future sales. Question: How is the exact date calculated for reverting to the standard commission rate? For example, if a developer’s proceeds exceed $1 million on April 20, 2025, when does the standard commission rate take effect? Specifically: Is the standard commission rate applied immediately on April 21, 2025? Does it take effect at the start of the next calendar month (May 2025)? Or is it triggered when the payment cycle closes (e.g., June 2025 when the billing statement is generated)? Thank you for your assistance!
2
0
74
May ’25
Reply to EKEventStore save throws error "access denied" since iOS 18.4+, macOS 15.4+
Same problem for me as from 18.4. Not all calendar apps have this, so there must be a workaround. Error committing event store: [Error Domain=EKCADErrorDomain Code=1013 Access denied UserInfo={NSLocalizedDescription=Access denied}] Failed to commit: Error Domain=EKCADErrorDomain Code=1013 Access denied UserInfo={NSLocalizedDescription=Access denied} Rolling back changes after commit error: Error Domain=EKCADErrorDomain Code=1013 Access denied UserInfo={NSLocalizedDescription=Access denied} Failed to save event: Error Domain=EKCADErrorDomain Code=1013 Access denied UserInfo={NSLocalizedDescription=Access denied} code-block
Topic: App & System Services SubTopic: General Tags:
May ’25