Swiftpack.co - tuparev/SoftwareEtudes as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by tuparev.
tuparev/SoftwareEtudes 0.5.2
Collection of loosely coupled reusable Swift types (classes, structs, ...)
⭐️ 2
🕓 1 year ago
.package(url: "https://github.com/tuparev/SoftwareEtudes.git", from: "0.5.2")

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 Swift types and other resources.

Guides

Sources

SemanticVersion.swift

  • A simple struct capturing the version of an app, module, framework, or other resource.
  • Status: Hopefully a complete implementation, tested.
  • Version history:
  • 0.1.0 - Initial port from older sources and few tests
  • 0.4.0 - Implementing pre-release and adding more tests
  • 0.5.0 - Preliminary complete implementation of Semantic Versioning
  • 0.5.1 - Now SemanticVersion is Codable

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: 3 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics