Swiftpack.co - Package - tuparev/SoftwareEtudes

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.

tuparev/SoftwareEtudes

Collection of loosely coupled reusable Swift types (classes, structs, ...)

SoftwareEtudes

Intro

This repository is not a focused on a single project. It is a collection of ideas, sources, and hopefully useful stuff mostly for developers using Apple infrastructure including server side Swift. Because of the nature of our company projects, we do not use third party software. This repository is just a collection of loosely coupled sources (classes, structs, etc.) and other resources.

Guides

Sources

SemanticVersion.swift

  • A simple struct capturing the version of an app, module, framework, or other resource.
  • Status: Initial version, ready to be uses, tested.
  • Version history:
  • 0.1.0 - Initial port from older sources and new tests

StringUtilities.swift

  • String extensions to add simple substring computations and looking for repeating characters
  • Status: Initial version, ready to be uses, tested.
  • Version history:
  • 0.2.0 - Initial port from older sources and new tests

URLSessionAdditions.swift

  • URLSession extensions to add synchronous URLSession call. Use with caution!
  • Status: Initial version, ready to be uses, not tested.
  • Version history:
  • 0.3.0 - Initial port from older sources and new tests

TypeNameDescribable

This is a simple protocol and corresponding extension implementing it to get the type name as a variable (works with both value type or reference type)

Contributions

Here I will add resources written by myself and used in one or more internal projects of my company. In addition to this some recourses will be written by colleagues and friends. Anyone is welcome to contribute too. Just drop me an email or DM me on Twitter but be warned - I reply slowly most of the time. To keep the overall style of the repository I will preserve the right to reject a contribution or edit and change it.

A bit of history

Many, many moons ago (when NeXTSTEP 2.0 was a hot potato) I was a prolific open source creator and supporter. I contributed to MiscKit (I bet very few remember that beast), and for about 3 or 4 years I hosted the GNUStep repository (at the time I inherited it from the great Paul Kunz). Also I had many scientific and Web (mostly WebObjects) packages, libraries, and other contributions.

Things changed though when I put on a suit and tie working at jobby jobs and founding a company that provided services primarily for the financial and banking industries. Now though after 2 decades my colleagues and I have nearly no restrictive NDAs bothering us thus we are free to contribute to the open source community once again.

Github

link
Stars: 2
Last commit: 2 weeks ago