Skip to content

This is a Swift sample app to showcase File access event monitoring on macOS using GCD (DispatchSourceFileSystemObject)

Notifications You must be signed in to change notification settings

HemDutt/FileMonitor_macOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FileMonitor_macOS

This is a Swift sample app to showcase File access event monitoring on macOS using GCD (DispatchSourceFileSystemObject). This sample uses a minimal UI to add directories for access monitoring on the files inside the directory. Application logs file access events with details such as Timestamp, User and Access Type. App use Core data to store list of monitored directories.

This sample app is not the best design for File Access Monitoring and it is understood that a Daemon which launches on startup is better suited for this work. Considering the Code signing set up required with a Daemon, This sample is intended for a simple demonstartion of File access monitoring in a Cocoa app.

About

This is a Swift sample app to showcase File access event monitoring on macOS using GCD (DispatchSourceFileSystemObject)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages