A lightweight framework to schedule and cancel local notifications.
Inspired by R.swift by Mathijs Kadijk. 👏 The difference between R.swift and this one, is that it only looks for images and has a special --watch parameter.
Installation
Cocoapods
Podfile:
pod 'Radon'
And then
pod install
Manual
Just download the radon binary and put it anywhere you like.
Generating
Just run:
$ Pods/Radon/bin/radon
With the following options:
Usage: Pods/Radon/bin/radon [options]
-f, --folder:
The folder to scan
-o, --output:
The folder to write the Radon.swift files to
-w, --watch:
Automatically watch the 'folder'
-r, --remove_foldernames:
Remove the name of the folder from the filename
With the --watch option the cli app wil automatically scan the folder and generate the Radon files when any changes have been made inside that folder.
Radon is part of the E-sites iOS Suite.
A lightweight framework to schedule and cancel local notifications.
Installation
Cocoapods
Podfile:
And then
Manual
Just download the radon binary and put it anywhere you like.
Generating
Just run:
With the following options:
With the
--watch
option the cli app wil automatically scan the folder and generate the Radon files when any changes have been made inside that folder.So for instance:
This will generate two files:
You can use these two files in your project.
See the example project for more information.
Usage
For your convenience you can also use the shorthand R.swift notation.