Applications, Code Snippets, Programs, and Scripts
Categories:
Command Line
rdls
A Swift command-line tool to demo the use of Launch Service's API for UTI and URL schemes
ap
A Swift command-line tool to demo argument parsing using Swift Package Manager's SPMUtility module
rdshell
A simple shell implementation using Swift and RunLoops.
xcibversion
This script automates the increment of Build numbers in Xcode projects.
Estatus
A Swift command-line app using Vapor's console module.
Computer Science
RDStateMachine
State machine implementation in Swift, and also example code to use it.
iOS
Into Account
An event counter app. Where you can track anything you want. It is useful and straightforward, way better than having a piece of paper with a tally.
macOS
Squirrel
A simple macOS agent-based menu bar app.
keyexplorer
Only a demo app to exemplify how to read/write from Keychain.
Networks
echoSocketServer
A basic echo server built using native sockets in Swift.
rdncat
A client-server command-line tool created using NWFramework
niots
A Server application built using SwiftNIO. `niots` works as an echo server, it modifies the text before sending it back to the client.
RDICIDR
An interactive CIDR tool to calculate subnets.
Operating systems
Process Management
rdknitting
An demo on how to use pthreads in Swift.
rdkqueue
A socket based server written in swift that exemplifies the use of kqueue/kevent on sockets, signals, and file system changes.
Inter Process Communication
rdConsoleSequencer
Launch Agent that provides an XPC service. Written in Swift.
rdConsoleSequencerClient
A Swift client example that consumes an XPC service.
XPCSquirrel
Code on how to build a macOS app that includes an XPC Service
Swift Programming Language
SQLiteTester
A small Swift package executable to test interoperability with SQLite3 C library
SQLiteClient
A demo Swift package that makes use of a c library wrapper for SQLite3
SQLite3
A Swifty example of a Wrapper on top of the SDK sqlite3 C library.
Csqlite3
A Swift Package Wrapper for sqlite3.h library.
objc-swift-interoperability
Code sample to show interoperability between Objective-C and Swift.