Swiftpack.co - Package - ellsk/RxSampler


Build and Run

  1. At the root dir, run swift package resolve.
  2. Then swift build.

After this step, the program can be run in the commandline like so:

./.build/x86_64-apple-macosx10.10/debug/Sampler 4 60

The first argument 4 is the interval (unit: seconds) at which a stream emits an integer value. The second argument 60 is the total duration (unit: seconds) for which the program should run.

  1. Alternatively, run swift package generate-xcodeproj after the step 2 to generate/run an xcode project.


Stars: 0
Help us keep the lights on

Used By

Total: 0