Skip to content

SwiftLint type_body_length warning in EventKitStore.swift #28

@philoserf

Description

@philoserf

Description

RemindersStore actor body in EventKitStore.swift spans 259 lines, exceeding SwiftLint's 250-line type_body_length warning threshold.

Root Cause

ReminderItem is constructed inline in 3 methods (createReminder, updateReminder, completeReminders) despite an existing item(from:) helper that does the same thing but is never called. This adds ~30 unnecessary lines to the actor body.

Fix

Replace the 3 inline ReminderItem(...) constructions with calls to item(from:).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions