Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Apple Annotation parsing #287

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Conversation

Archdoog
Copy link
Collaborator

@Archdoog Archdoog commented Oct 7, 2024

#271 for iOS

///
/// - Parameter type: The type to decode the annotation json string to.
/// - Returns: The decoded type.
public func currentAnnotation<T: Decodable>(as type: T.Type) throws -> T? {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this method throwing and return optional at the same time which makes it harder to use, probably throwing error in case of nil date would make more sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants