Basic cross Linux/Darwin/Win(?) Posix aliases for Swift

Overview

xsys

Posix wrappers and naming shims.

Instead of having to do this in all your code:

#if os(Linux)
  import Glibc
#else
  import Darwin
#endif

let h = dlopen("/blub")

You can do this:

import xsys

let h = dlopen("/blub")

timeval_any

Abstracts three different Posix types into one common protocol, and provides common operations for all of them.

  • timeval_t
  • timespec_t
  • time_t

Links

Who

xsys is brought to you by the Always Right Institute and ZeeZide. We like feedback, GitHub stars, cool contract work, presumably any form of praise you can think of.

There is a #microexpress channel on the Noze.io Slack. Feel free to join!

You might also like...
Cellular Automata for basic water simulation

Water Simulation TODOs Make dynamic color based on pressure Make half-filled textures Integrate phone velocity to change gravity Tweak parameters Clea

Cellular Automata for basic water simulation

Water Simulation TODOs Make dynamic color based on pressure Make half-filled textures Integrate phone velocity to change gravity Tweak parameters Clea

Super basic iOS app to browse open-source-ios-apps
Super basic iOS app to browse open-source-ios-apps

Super basic iOS app to browse open-source-ios-apps

Weatherflow-local - Basic frame-out of a SwiftUI macOS app to receive & display WeatherFlow UDP broadcast messages
Weatherflow-local - Basic frame-out of a SwiftUI macOS app to receive & display WeatherFlow UDP broadcast messages

WeatherFlow Local A very basic/skeleton SwiftUI macOS app for receiving and disp

A basic app to convert your money between USD, EUR and JPY.
A basic app to convert your money between USD, EUR and JPY.

Currency Converter App for iOS What frameworks and technologies used VIPER + MVI as architecture pattern Stevia for UIKit Layout Alamofire for Network

Swift Playgrounds desenvolvido para o Swift Student Challenge da WWDC 21
Swift Playgrounds desenvolvido para o Swift Student Challenge da WWDC 21

Pile Up Swift Playgrounds desenvolvido para o Swift Student Challenge da WWDC 21 Descrição Pile Up é um quebra cabeça cujo objetivo é empilhar os bloc

Swift Language Weather is an iOS weather app developed in Swift
Swift Language Weather is an iOS weather app developed in Swift

Swift Language Weather SwiftWeather has renamed to Swift Language Weather. Because this repo is ranked number one in Google when we search "Swift Weat

Todo-app-swift- - A Todo Lists app built using swift

TODO-Lists App Available on the App Store What is this? This is a todo app I mad

Matrix-rust-components-swift - Swift package providing components from the matrix-rust-sdk

Swift package for Matrix Rust components This repository is a Swift Package for

Owner
The Noze Consortium
Evented I/O streams for Swift
The Noze Consortium
Completed Project for Cross Platform Image Filter SwiftUI macOS & iOS App

Completed Project for Cross Platform Image Filter SwiftUI macOS & iOS App Follow the tutorial at alfianlosari.com Features Filter image using predefin

Alfian Losari 73 Dec 19, 2022
A cross-platform SwiftUI-like framework built on SwiftGtk.

SwiftGtkUI A SwiftUI-like framework for creating cross-platform apps in Swift. It uses SwiftGtk as its backend. NOTE: SwiftGtkUI does not attempt to r

null 99 Jan 5, 2023
Basic calculator app for iOS devices using Swift 3 and Xcode

iOS Calculator App Basic calculator app for iOS devices using Swift 3 and Xcode. Created for learning purpose. How to use Just download source code an

null 1 Jan 12, 2022
An iOS client for connecting to Linux Mint's Warpinator application

warpinator-iOS This is an iOS application for connecting iOS devices (and hopefully, in the future, macOs computers) to the Linux Mint Warpinator file

null 42 Dec 28, 2022
Basic Todo list application built using the new SwiftUI framework and Core Data

Dub Dub Do - A sample TODO List Application in SwiftUI Updated for Xcode 11.5 This is a basic app that lets you create a list of todos, mark them as i

Stephen McMillan 67 Sep 28, 2022
✨ Basic lists from iOS 2 to iOS 14

listapp.ios Basic lists on iOS ✨ UITableView iOS 2* Objective-C 2008 UITableView iOS 2* Swift 2008 diff UICollectionView iOS 6 2012 diff Compositional

null 24 Dec 15, 2022
Basic Unsplash client for iOS made with SwiftUI (beta).

PapersSwiftUI Basic Unsplash client for iOS made with SwiftUI (beta). Note SwiftUI is still in beta and I'm also still learning how it works. To-Do: P

Don 19 Dec 17, 2022
A basic twitter app to view, compose, favorite, and retweet tweets

A basic twitter app to view, compose, favorite, and retweet tweets

Kaya Yeboah 0 Nov 4, 2021
It contain's the basic utils for iOS developing.

GCCoreUtils Example To run the example project, clone the repo, and run pod install from the Example directory first. Requirements Installation GCCore

GreedyLazy 0 Nov 24, 2021
Don't start from scratch, start from Here! This is a starter project for iOS projects. It contains all the basic configurations and common libraries for your project.

Starter-iOS Don't start from scratch, start from Here! This is a starter project for iOS projects. It contains all the basic configurations and common

Shaban Kamel 6 May 24, 2022