An example on how to use DispatchSource.makeFileSystemObjectSource(fileDescriptor:eventMask:queue:) to monitor a file with mock data (json file in this case), so that editing file will cause a live update of the app running in a simulator.
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
An example on how to use DispatchSource.makeFileSystemObjectSource(fileDescriptor:eventMask:queue:) to monitor a file with mock data (json file in this case), so that editing file will cause a live update of the app running in a simulator.