Skip to content

Commit

Permalink
Make FerrostarCore itself observable
Browse files Browse the repository at this point in the history
  • Loading branch information
ianthetechie committed Oct 9, 2023
1 parent cabf0d8 commit 2540728
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apple/Sources/FerrostarCore/FerrostarCore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public protocol FerrostarCoreDelegate: AnyObject {
/// The particulars will vary by app; do what makes the most sense for your user experience.
///
/// Finally, with a route selected, call ``startNavigation(route:)`` to start a session.
@Observable
@objc public class FerrostarCore: NSObject {
/// The delegate which will receive Ferrostar core events.
public weak var delegate: FerrostarCoreDelegate?
Expand Down

0 comments on commit 2540728

Please sign in to comment.