diff --git a/DemoApp/FeedsView/Mentions/CommandsHandler.swift b/DemoApp/FeedsView/Mentions/CommandsHandler.swift index e993e2f..3e1fd40 100644 --- a/DemoApp/FeedsView/Mentions/CommandsHandler.swift +++ b/DemoApp/FeedsView/Mentions/CommandsHandler.swift @@ -87,7 +87,7 @@ extension CommandHandler { } /// Model for the composer's commands. -public struct ComposerCommand { +public struct ComposerCommand: Sendable { /// Identifier of the command. public let id: String /// Typing suggestion that invokes the command. @@ -124,7 +124,7 @@ public struct SuggestionInfo: @unchecked Sendable { } /// Display information about a command. -public struct CommandDisplayInfo { +public struct CommandDisplayInfo: Sendable { public let displayName: String public let icon: UIImage public let format: String diff --git a/DemoApp/FeedsView/Mentions/TypingSuggester.swift b/DemoApp/FeedsView/Mentions/TypingSuggester.swift index cd4f1f7..cd90ce8 100644 --- a/DemoApp/FeedsView/Mentions/TypingSuggester.swift +++ b/DemoApp/FeedsView/Mentions/TypingSuggester.swift @@ -33,7 +33,7 @@ public struct TypingSuggestionOptions { } /// A structure that contains the information of the typing suggestion. -public struct TypingSuggestion { +public struct TypingSuggestion: Sendable { /// A String representing the currently typing text. public let text: String /// A NSRange that stores the location of the typing suggestion in relation with the whole input. diff --git a/DemoApp/Info.plist b/DemoApp/Info.plist index c6ef2ae..f6ac47f 100644 --- a/DemoApp/Info.plist +++ b/DemoApp/Info.plist @@ -59,5 +59,12 @@ UIInterfaceOrientationPortrait + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight +