Repository navigation
Add a SwiftUI Calendar sample for iOS - #749
Open
rksharma-owg wants to merge 7 commits into
Open
rksharma-owg wants to merge 7 commits into
rksharma-owg wants to merge 7 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The existing Calendar example uses Objective-C and AppKit. Add a small iOS example showing how Swift can use the Calendar service with AppAuth/GTMAppAuth and read-only authorization.
The sample reads upcoming primary-calendar events, loads pages on demand, preserves earlier results after a page error, and clears pending/visible state on sign-out. It includes OAuth client and callback setup instructions, a checked-in Xcode project/shared scheme, offline XCTest coverage, and Debug/Release simulator coverage in the Examples workflow.
Validation at 1972c1b: 18 offline XCTest cases passed on macOS and in Debug/Release iOS simulator runs; both simulator builds and all four existing examples in Debug/Release passed. Fork preflight. Offline tests cover query settings, paging/error/refresh/cancellation behavior, all-day date display, callback configuration, PKCE/read-only request construction, saved-session errors, and accepted/rejected callback handling. Live OAuth, actual Keychain operations, and Google Calendar access have not been tested with a configured client/account.
The changed Examples workflow pins checkout to v7.0.1, limits its token to repository reading, and disables persisted checkout credentials. A zizmor 1.25.2 cloud preflight passed for the workflow.
Related to #234.