-
Hi, In the Apple Scrumdinger sample, the SpeechRecognizer class conforms to the Observable protocol: public actor SpeechRecognizer: Observable {
public enum RecognizerError: Error {
case nilRecognizer
.
.
. developer help text suggests that the protocol conformance does not add observation functionality. This class does not use the |
Beta Was this translation helpful? Give feedback.
Answered by
mbrandonw
Aug 16, 2025
Replies: 2 comments
-
Hi @bitsarat, that conformance is not needed at all. You can remove it and it will still compile and work the same. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
bitsarat
-
Thanks Brandon! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @bitsarat, that conformance is not needed at all. You can remove it and it will still compile and work the same.