Skip to content

Commit

Permalink
add comments for ConfigurableService
Browse files Browse the repository at this point in the history
  • Loading branch information
CanglongCl committed Jan 15, 2024
1 parent 9bcbdbe commit 0297aa1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Easydict/NewApp/Utility/Protocol/ConfigurableService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@
import Foundation
import SwiftUI

/// A service can provide configuration view in setting
protocol ConfigurableService {
associatedtype T: View


/// Items in Configuration Form. Use ServiceStringConfigurationSection or other customize view.
@ViewBuilder
func configurationListItems() -> T
}
Expand Down

0 comments on commit 0297aa1

Please sign in to comment.