Add comments on new classes and methods.

This commit is contained in:
SBiOSoftWhare
2020-10-09 09:17:14 +02:00
committed by manuroe
parent 7129c7582c
commit 904803fe33
4 changed files with 5 additions and 1 deletions
@@ -16,6 +16,7 @@
import Foundation
/// Represents the homeserver configuration (usually based on HS Well-Known or hardoced values in the project)
@objcMembers
final class HomeserverConfiguration: NSObject {
@@ -16,6 +16,7 @@
import Foundation
/// `HomeserverConfigurationBuilder` build `HomeserverConfiguration` objects according to injected inputs
@objcMembers
final class HomeserverConfigurationBuilder: NSObject {
@@ -25,6 +26,7 @@ final class HomeserverConfigurationBuilder: NSObject {
// MARK: - Public
/// Create an `HomeserverConfiguration` from an HS Well-Known when possible otherwise it takes hardcoded values from BuildSettings by default.
func build(from wellKnown: MXWellKnown?) -> HomeserverConfiguration {
let isE2EEByDefaultEnabled: Bool
@@ -16,6 +16,7 @@
import Foundation
/// `HomeserverJitsiConfiguration` gives Jitsi widget configuration used by homeserver
@objcMembers
final class HomeserverJitsiConfiguration: NSObject {
let serverDomain: String