Search results for

calendar

1,863 results found

Post

Replies

Boosts

Views

Activity

API to retrieve iCloud calendar data?
Hi all,I need to create a webapplication (based on ruby on rails 5), which displays the icloud-calendar events of a user. I managed to achieve this with CalDAV-calendar sharing. However this is not what managent wants.Therefore I want to achieve this with an oAuth2 workflow. I did exactly this with the google-calendar and I want the same behaviour with the icloud-calendar:- User clicks on a button connect iCloud Calendar in my webapplication in the browser.- User gets redirected to apple site to login with his credentials.- Apple gives my application a token and a refresh token, which I can use to read user-calendar-events.Since I am completly new to the apple-world, I have some questions about this:- Is this described workflow somehow possible with the iCloud calendar?- If so, what apple-api or apple-tools do I have to use?- Is it possible to develop an iCloud-application without having a developer-account at apple? (e.g a sandbox for testing - n
1
0
12k
Dec ’17
Progress Calendar in SwiftUI
I'm building a progress calendar feature in my app. There is a progress bar in my app, if the user reaches 100% at the current day, I want to show them a checkmark in the calendar so they can see in which days they completed their goal. What would be the way to build it? I guess I can have a variable for each day of the month and make it true if the user reaches 100% for that day, but that seems like a really bad solution. Here is my calendar usage. CalendarView(interval: year) { date in ttttttttttttttttif calendar.component(.day, from: date) == calendarCurrent.component(.day, from: currentDate) { ttttttttttttttttttZStack { ttttttttttttttttttttText(30) tttttttttttttttttttttt.hidden() tttttttttttttttttttttt.padding(8) tttttttttttttttttttttt.overlay( ttttttttttttttttttttttttRoundedRectangle(cornerRadius: 10, tttttttttttttttttttttttttttttttt style: .continuous) tttttttttttttttttttttttttt.stroke(Color(red: 50/255, green: 104/255, blue: 144/255), style: StrokeStyle(lineWidth: 2))) tttttt
0
0
843
Jan ’21
Trying to Update Calendar, Getting Various Errors
I can add a new calendar to the user's calendars like this, using the saveCalendar(_:commit:) method: let ekStore = EKEventStore() func saveCalendar(calendar: EKCalendar) throws { try ekStore.saveCalendar(calendar, commit: true) } let newList = EKCalendar(for: .reminder, eventStore: store.ekStore) newList.source = store.ekStore.defaultCalendarForNewReminders()?.source newList.title = newListName newList.cgColor = listColor do { try saveCalendar(calendar: newList) } catch { print(Error adding list: (error.localizedDescription)) } And I store the calendar object. When the user finishes editing a calendar (reminders list) in my app, I try to save it like this, using the stored calendar as a starting point: let updatedList = existingCalendar updatedList.title = newListName updatedList.cgColor = listColor do { try saveCalendar(calendar: updatedList) } catch { print(Error saving list: (error.localizedDescription)) } But the calendar
0
0
1.4k
Dec ’22
Calendar "Today's Events" Issue
Device: iPhone 16 Pro iOS version: 18.3.2 The calendar widget (on home screen) is displaying No more events today even though there is an appointment scheduled later in the evening on the same day. I have looked through all the settings and nothing seems to work. How do I get it to display events that are on the calendar for rest of the day today. It does correctly display events that are upcoming tomorrow and next week. Thanks, -Harry
1
0
94
Apr ’25
iOS 11.0.3 Calendar Issue
Hi thereAfter upgrading my iPhone 6s Plus from iOS 11.0.2 to iOS 11.0.3 I can no longer add calendar events.😕The calendar app either closes unexpecedtly when I press Add or the event is shown to be added, but after a second it vanishes.Please can you help? Thank you in adance R4FA
1
0
2.0k
Oct ’17
What is calendar day view built with?
When I go into the Apple provided Calendar app and jump to a specific day, and then turn off the row icon in the nav bar, it shows 12am to 12am and draws out the calendar items with background rectangles.I'm trying to figure out how they would have done that. Originally I figured just a UITableView, but the times printed are sort of outside the bounds of what the cell would be. Do you think it's just a UIScrollView with a custom drawRect to do everything?
0
0
342
Feb ’17
Adding events to my native calendar
Hey Community, We are currently building a fitness application which allows a user to either create fitness programs or purchase them. They can select the date of their choice and select single/multiple time slots to schedule the same. The requirement is that dates and slots should be copied to the native calendar however, the challenge is I am able to see all timeslots for one date and not for the rest. Could you please provide suggestions as to how the native calendar can be manipulated using xcode?
0
0
216
Sep ’23