Class
GSPathObservation
An abstraction of GSPathWatcher in the spirit of GSKeyValueObservation.
Declaration
class GSPathObservationDeclaration
@interface GSPathObservation : NSObjectDeclaration
class GSPathObservation(NSObject)Overview
See the GSKeyValueObservation documentation for a general explanation of the observation object pattern.
Topics
Instance Properties
When greater than zero, target/action is triggered only once the time interval has passed without any new events.
Full path to the observed file or directory.
Instance Methods
Pauses the observation.
- perform
Block(paused performObservation:) Block performWith Paused Observation: Block With Paused Observation_ Pauses the observation, performs the block, and resumes the observation before returning.
Resumes a paused the observation, balancing a call to
-pauseObservation.
Type Methods
Relationships
Inherits From
NSObject
Conforms To
- GS
Path Watcher Observer ObjectiveC.NS Object Protocol Swift.CVar Arg Swift.CustomDebug String Convertible Swift.CustomString Convertible Swift.EquatableSwift.Hashable
Relationships
Inherits From
NSObject