Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hemdutt/filemonitor_macos
This is a Swift sample app to showcase File access event monitoring on macOS using GCD (DispatchSourceFileSystemObject)
https://github.com/hemdutt/filemonitor_macos
cocoa coredata directorymonitor dispatchsourcefilesystemobject filemonitor gcd swift xcode
Last synced: 6 days ago
JSON representation
This is a Swift sample app to showcase File access event monitoring on macOS using GCD (DispatchSourceFileSystemObject)
- Host: GitHub
- URL: https://github.com/hemdutt/filemonitor_macos
- Owner: HemDutt
- Created: 2021-07-11T19:53:26.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-07-11T20:17:05.000Z (over 3 years ago)
- Last Synced: 2024-11-14T20:36:58.028Z (2 months ago)
- Topics: cocoa, coredata, directorymonitor, dispatchsourcefilesystemobject, filemonitor, gcd, swift, xcode
- Language: Swift
- Homepage:
- Size: 24.4 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.