Skip to content

Commit bb877e7

Browse files
committed
Fix spelling
1 parent 7c7144a commit bb877e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lite/examples/posenet/ios/PoseNet/Camera Feed/CameraFeedManager.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ class CameraFeedManager: NSObject {
228228
// MARK: Notification Observer Handling
229229
private func addObservers() {
230230
NotificationCenter.default.addObserver(
231-
self, selector: #selector(CameraFeedManager.sessionRuntimeErrorOccured(notification:)),
231+
self, selector: #selector(CameraFeedManager.sessionRuntimeErrorOccurred(notification:)),
232232
name: NSNotification.Name.AVCaptureSessionRuntimeError, object: session)
233233
NotificationCenter.default.addObserver(
234234
self, selector: #selector(CameraFeedManager.sessionWasInterrupted(notification:)),
@@ -272,7 +272,7 @@ class CameraFeedManager: NSObject {
272272
delegate?.cameraFeedManagerDidEndSessionInterruption(self)
273273
}
274274

275-
@objc func sessionRuntimeErrorOccured(notification: Notification) {
275+
@objc func sessionRuntimeErrorOccurred(notification: Notification) {
276276
guard let error = notification.userInfo?[AVCaptureSessionErrorKey] as? AVError else {
277277
return
278278
}

0 commit comments

Comments
 (0)