Swiftpack.co - Swift Packages by ITzTravelInTime

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

Packages published by ITzTravelInTime

ITzTravelInTime/SwiftCPUDetect 2.0.0-beta.2
Swift Library to detect the current CPU Architecture for the current machine/process (inculing detecting if the current process is running using Rosetta) and additional system info.
⭐️ 50
🕓 1 year ago
🔖 Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
2.0 Beta 1
1 year ago
### **WARNING: This release breaks code compatibility with previous library versions (before 2.0.0)** - Complete library rework, you will need to change your code to use this library version. - The library is now split into 2 targets for better organisation. - Partial linux support (still work in progress). - Added a swift-friendly uname reimplementation. - Rewritten the sysctl-rarelated code and all the detection code in general. - Removed lots of code redundancies and repetitions for better maintainability.
1.3.0
2 years ago
- `CpuArchitecture.actualCurrent()` is now deprecated and has been replaced by `CpuArchitecture.machineCurrent()`, code compatibility has been maintained, but a warning message will be generated. It's strongly recommended to update your code to the new syntax since the next major updates will see the old syntax removed. - Improved some function descriptions.
1.2.0
2 years ago
- Added detection for Arm v7 for the `CpuArchitecture.currentExecutableArchitectures` - Added a DEMO playground for quick testing and demonstration - Divided the source code into multiple files - Added a new `HWInfo` class to get info about the current cpu and the system - New cpu architecture detection method that works across multiple Apple OSes - Revisioned the available cpu architecture values for `CpuArchitecture` - Now this library is tested to work on macOS and iOS, it should work on tvOS and watchOS too - Updated the example code inside the REAME and updated the project's description
1.1.3
2 years ago
- Improved printing management - Fix compiling for non mac-platforms
1.1.0
2 years ago
-Improved printing and added the possibility to disable printing. -Improved detection of the cpu architecture while using Rosetta to run the current app/program. -Added listing of the cpu architectures supported by the current bundle. -Added an `isIntel` function to `CpuArchitecture` for better coherence with the rest of the offered functions.
1.0.1
2 years ago
Fixed Apple Silicon detection bug
1.0.0
2 years ago
First release of this project, to learn more about it check out the README file.
iOS macOS watchOS tvOS
ITzTravelInTime/TINURecovery 5.0.2
macOS Swift library, from TINU, to detect: Recovery Mode, SIP, Sandbox and Current User. Also providing NVRAM functions.
⭐️ 5
🕓 1 year ago
🔖 Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Version 5.0.2
1 year ago
- Limited the availability of `SimpleReachability` to fix some building issues on some platforms.
Version 5.0.1
1 year ago
- Lowered version requirements for Swift and iOS.
Version 5.0.0
1 year ago
- Now using [ITzTravelInTime/SwiftPackagesBase](https://github.com/ITzTravelInTime/SwiftPackagesBase) to remove some unnecessary utility code and to simplify the implementation of the library. - The `SimulatableDetectableBase` and all other derived protocols have been moved to the [ITzTravelInTime/SwiftPackagesBase](https://github.com/ITzTravelInTime/SwiftPackagesBase) Swift package, this change will break code, so add this library to your code. - Removed some silent bugs. - Updated README and copyright years. - Deleted useless files and some cleanup.
4.1.2
2 years ago
- Fixed a compatibility issue with Xcode 12.
4.1.1
2 years ago
- `NVRAM` is not implemented using the dedicated [TINUIORegistry](https://github.com/ITzTravelInTime/TINUIORegistry) library (some interface changes were made, expect having to change your code, this also includes having to deal with a new dependancy in your project). - Updated README, demo playground and other dependancies. - Some cleanup and minor improvements.
4.0.1
2 years ago
- The package is now able to be compiled for iOS, iPadOS and mac Catalyst again (with reduced features). - Updated Legal information in the README and in the source code files. - Updated dependancies.
4.0.0
2 years ago
- Added variations of the `SimulatableDetectable` protocol (one for timed re-sample of the status data, another for one sample of status data, and another for alway resample status data). - Added `SimpleReachability` to detect the status of network connection. - Re-worked the implementations of `SimulatableDetectable` types to use the new protocol variants and to reduce the quantity of implementation code. - Changed the way that the usage of a custom SIP Configuration is detected. - Updated dependancies. - Updated README. - Updated the included Demo playground. Notes: This version breaks compatibility with existing classes/structs implementing the `SimulatableDetectable` protocol from past versions, modifying the code for those types is needed in order to switch to this new version.
3.7.7
2 years ago
- Fixed a possible crash that could happen if SIP detection fails. - Improved the CSR_ALLOW_UNRESTRICTED_FS description.
3.7.6
2 years ago
- Added `SIP.SIPStatus.resultsFullyDisabled` to detect if SIP is actually fully disabled - Improved some comments and descriptions - Updated the demo playground - Bug fix
3.7.4
2 years ago
- Only on Recovery/Installer macOS systems: The property `SIP.actualStatus` is now recalculated each time it is called. - Fixed a bug that caused the SIP status to be misreported when the CSR_ALLOW_APPLE_INTERNAL flag was on or off - Added assertions to the `NVRAM` functions to make sure they are used only within non-sandboxed programs. - Added a new file to get user-friendly descriptions for the SIP status and each flag of the status integer. - Added [khronokernel](https://github.com/khronokernel) to the credits for his help with all the SIP-related stuff.
iOS macOS
ITzTravelInTime/TINUIORegistry 0.1.3
A Swift library to access information from the macOS IORegistry.
⭐️ 4
🕓 1 year ago
🔖 Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Version 0.1.3
1 year ago
Lowered swift version and platforms version requirements
Version 0.1.1
1 year ago
- Now using [ITzTravelInTime/SwiftPackagesBase](https://github.com/ITzTravelInTime/SwiftPackagesBase) for some basic features which were previously implemented. - `IOEntry` now conforms to protocol `FetchProtocolDataInstance`. As a result of this the function interfaces have been changed slightly to omit the `forKey:` label, this will break code, so code changes are mandatory for library users. - Small overall improvements to the swift package.
0.0.3
2 years ago
- The changed the package name to solve compatiblity issues with xcode 12. - Overhauled some legal text.
0.0.2
2 years ago
- Added a function to get data properties for `IOEntry` types as integers.
0.0.1
2 years ago
First release of the project, see the README for more info on the library.
iOS macOS
ITzTravelInTime/CommandSudo 1.1.16
Extension Swift Library for the Command library (that can be found here https://github.com/ITzTravelInTime/Command) that provides support for privileged operations.
⭐️ 3
🕓 2 years ago
🔖 Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
1.1.16
2 years ago
- Fixed a compatibility issue with Xcode 12.
1.1.15
2 years ago
- Updated dependancies.
1.1.14
2 years ago
- Updated dependancies. - Updated the legal information across the source files.
1.1.13
2 years ago
- Added an argument to some functions that will avoid having sudo prefixed in front of executed comamnds. - Switched to zsh instead of sh for script execution. - Fixed a crash occurring when the execution of a command returns nil. - Fixed a crash that occurs when parsing some commands. - Fixed a crash that could occur when using the library from a program ruinning as root. - Updated dependacies.
1.1.8
2 years ago
- Updated dependancies and platform requirements - Added a DEMO playground to try the library - Updated the README example - Library requirements are now pointed to release libraries - Updated function names and descriptions - Updated the warning message in the playground - Fixed some important bugs from the previous release
1.1.0
2 years ago
- Updated for the `Command` 2.x library - Added deprecation messages for the `Command.Sudo.getOut` functions - re-implemented the `Command.Sudo.start` function for better usage an avoiding issues with system PATH variables - Removed the `Command.Sudo.run` implementation because this function now is implemented inside the `CommandExecutor` protocol - Added assertion inside the `Command.Sudo.start` function to check for executable file existence - Removed the `init` from `Command.Sudo` since it's no longer needed - Now using the library [SwiftLoggedPrint](https://github.com/ITzTravelInTime/SwiftLoggedPrint) to manage printed messages
1.0.2
2 years ago
Removed useless re-initialisation of `TINUNotifications.shared` for each time the authentication user notification is sent.
1.0.1
2 years ago
First publicly available release, check out the README for more info about the project.
macOS
ITzTravelInTime/TINUNotifications 3.0.7
The notifications code from TINU! Use this library to easily create and send simple notifications.
⭐️ 1
🕓 2 years ago
🔖 Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
3.0.7
2 years ago
- Updated dependancies for bug fixes. - Updated legal info trought the source code.
3.0.6
2 years ago
Library completely re-written: -The old notification delivery system has been replaced by a new class called `Notification`, it uses a more SwiftUI-like approach to sending notifications, check the README and the source code for more info. -Added a new struct to manage `NSAlerts` called `Alert` it can be used like the new notification system. -Source code divided into multiple files -Switched to release dependancies. -Dropped the platform requirements (but the notifications and alert systems are still macOS only, you can use this mainly to access the `Messange` protocol. -Using typealiases to ensure the compatibility of the protocols with iOS/iPadOS. NOTE: This new version brings lot of changes to the library, you have to modify your code in order to upgrade to this new version.
2.0.0
2 years ago
-Now notifications can be sent directly from the descriptor objects using a default implementation provided by the `TINUNotificationDescriptor` protocol. -Removed the `allowSpam` parameter from the `TINUNotifications.send` and the `TINUNotifications.justSend` functions because it has been integrated into the descriptor. -Fixed some issues with the function descriptions. NOTE: This update changes the function and the protocol interfaces, you have to do modifications to your existing code before switching to this version of the library.
1.0.6
2 years ago
Fixed a bug that prevented the library from working when used for command line tool apps.
1.0.5
2 years ago
Fixed initialisation of `TINUNotifications` from external modules, this should also allow for the creation of subclasses of `TINUNotifications`.
1.0.4
2 years ago
Updated dependencies to the latest versions
1.0.3
2 years ago
First release of this package, for more info check the README file.
iOS macOS
ITzTravelInTime/Command 2.1.3
A Swift Library to launch, execute, and get the output of, executables and terminal commands/scripts in a simple and quick way.
⭐️ 1
🕓 1 year ago
🔖 Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Version 2.1.3
1 year ago
- Now using the `SwiftPackagesBase` library to replace the array extensions implementation. - Removed the implementation of the array extensions (might break code for programs using them). - Updated README, added info in the source code and updated copyright dates.
2.1.2
2 years ago
- Fixed a crash occurring when the `run` functions should return nil. From version 2.1.1 - Fixed a problem with the playground not compiling properly when the library is used by other projects. - Fixed Printer class ambiguity. - Updated supported platforms. From version 2.1.0: - Added a `Printer` class to enable or disable debug prints. - Updated Tests to use supported methods instead of the deprecated `getOut` function. - Added a Demo playground to try the library. - Updated the README. - Updated System requirements, now this library will work on any OS X and macOS versions supported by Swift.
2.0.5
2 years ago
- Added more debug prints. - Added `stringLine` as an extension to string arrays, this returns the string array as single line string made of the elements of the array separated by spaces. - Updated descriptions for functions. - Bugifxes. - Release worthy. From last deleted releases: - Divided the source code into multiple files for better organisation - Added an extension to `[String]` to avoid having to make code to convert `[String]` into `String` inside the Command-related functions and better avoid it's repetitions into projects using this library. - The `CommandExecutor` protocol now includes a default implementation for the `run` function so subclasses now can avoid using `Command.genericRun` which has been deprecated and removed. - Removed `Command.result` which has been replaced by `Command.Handle.result` - Improved the implementation of the functions - Fixed errors with the documentation - Added deprecation messages - Divided the source code into multiple files for better organisation - Added an extension to `[String]` to avoid having to make code to convert `[String]` into `String` inside the Command-related functions and better avoid it's repetitions into projects using this library. - The `CommandExecutor` protocol now includes a default implementation for the `run` function so subclasses now can avoid using `Command.genericRun` which has been deprecated and removed. - Removed `Command.result` which has been replaced by `Command.Handle.result` - Improved the implementation of the functions - Fixed errors with the documentation
1.1.2
2 years ago
- Fixed bugs for extension libraries
1.1.1
2 years ago
Dropped the thread assertion check, it was too unreliable.
1.1.0
2 years ago
-Added a protocol called `CommandExecutor` to manage Extensions of the `Command` class -Added generic implementation for the `Command.run` function, called `Command.genericRun`, so it can be used by extensions of `Command` for compliance with `CommandExecutor` -Made the `Command` class compliant with the `CommandExecutor` protocol
1.0.0
2 years ago
First release of this Library, check out the README and the source code to learn more about it.
iOS macOS
ITzTravelInTime/SwiftPackagesBase 0.0.23
A Swift Library containing useful code for Any Swift project.
⭐️ 1
🕓 1 year ago
🔖 Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Version 0.0.23
1 year ago
- Fixed Swift 5.0 compatibility - Fixed Linux unit tests for the SPM versions from 5.0 to 5.3
Version 0.0.22
1 year ago
- Fixed an issue with some fetching protocols having a missing default implementation of the `getBool` function when they were supposed to have it.
Version 0.0.21
1 year ago
- Added an extension for `FixedWidthInteger` types that: Assuming that the current value represents a frequency in Hz, returns an approximation to the maximum order of magnitude of it as a string with a measurement unit suffixed to it. - Added an extension for `FixedWidthInteger` types that returns a string representing the number in hexadecimal. - Added a random color extension to color types for apple platforms. - Added a bit mask matching function for `FixedWidthInteger` types. - Added an extension to generate bit masks for `FixedWidthInteger` types. - Improved some documentation comments. - Updated tests.
Version 0.0.17
1 year ago
- `String` extensions have been converted into `StringProtocol` extensions, this makes the functionality provided available to multiple types and not only `String` types. - Added compliance to the `Copying` protocol to the `Dictionary` type. - Added `sizeString()` function to represent integer types as byte storage unit string, useful to have nice UI-friendly storage values. Example: The value `1024` makes the function return `1 KB`.
Version 0.0.14
1 year ago
- Added an extension for `RawRepresentable` types which conforms to the `Identifiable` protocol, so it's no longer necessary to implement the `id` property. - Fixed a build issue with Swift 5.3 and below.
Version 0.0.11
1 year ago
- Restricted the access to `Float80`-related code to x86 and only on Linux and macOS targets. - Added extensions for `Float16` (only available for recent Apple OS releases on arm targets). - Limited the availability of some of the extensions for `Date` on iOS (which are now available only for iOS 8+). - Fixed building issues for some platforms. - Re-worked class type extensions for better availability of the extensions. - Re-named some extensions methods because some names could cause some issues. - Added some missing documentation comments. - Overhauled unit tests.
Version 0.0.6
1 year ago
- Added some extensions for `Bundle` and `Date`.
Version 0.0.5
1 year ago
- Added variants of the `SimulatableDetectable` protocols for Data fetching. - Improved the test target and the README.
Version 0.0.4
1 year ago
First release of the package, read the README and the source code for more info about the library.
iOS macOS watchOS tvOS
ITzTravelInTime/SwiftLoggedPrint 3.3.1
Swift Library for logged and better prints.
⭐️ 1
🕓 1 year ago
🔖 Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Version 3.3.1
1 year ago
- Lowered the iOS version requirements. - Updated dependancy.
Version 3.3.0
1 year ago
- Now using the `SwiftPackagesBase` library to avoid implementing some class extensions inside the library, which have been removed from the package code. - Removed the `Encodable` extension because it was unused, if you need that functionality use the `TINUSerialization` library. - Updated the README and the copyright years.
3.2.0
2 years ago
- Removed the `Codable` and `Decodable` extensions which have been moved to a new library called [TINUSerialization](https://github.com/ITzTravelInTime/TINUSerialization). If you needed those you have to switch the new library. - Updated legal info in the source files and the README.
3.1.2
2 years ago
- Fixed a crash that can occur while performing a log read. - Improved log reading code and performance.
3.1.0
2 years ago
- Added initialisation from file for `Decodable` types.
3.0.3
2 years ago
- Bug fix
Build 3.0.1
2 years ago
- Added print time tracking and printing - Added a playground to try the library - Added an option to put the prefix in front of all the printed lines of a single message - Now every `LoggedPrinterProtocol` type will support having it's own log storage struct - Added extensions to `Date` , `Encodable` and `Decodable` to provvide needed features and provvide some useful things to users of this library - The `printerID` for `LoggedPrinter` is now set by default to the current bundle identifier - Added `printTime` to `LoggedLine` - Renamed `LoggedLine.id` to `LoggedLine.printerID` for better understandability - Added a `LoggedPrintStorage` to let `LoggedPrinterProtocol` types manage their own log storage - Added `DefaultLogMemory` struct to provvide a ready-made `LoggedPrinterProtocol` type for usage - Updated the README example - Updated platform requirements Tested to work on iOS, tvOS and macOS.
Build 2.2.2
2 years ago
- Updated platform requirements
Build 2.2.1
2 years ago
- Code is now divided into multiple files for better management - Added support for ids to better manage having multiple `LoggedPrinterProtocol` classes - Added the possibility of reading logged lines that came just from the current `LoggedPrinterProtocol` class - By default now the printer prefix for the `LoggedPrinter` class is - Added the possibility to show prefixes into logged debug lines - Fixed a bug which prevented debug lines to be logged as such
Build 2.0.3
2 years ago
- Bug fixes
iOS macOS
ITzTravelInTime/TINUSerialization 1.0.0-beta.1
Library with useful extensions to `Decodable` and `Encodable` (and so also `Codable`) types, including simple JSON/Plist serialization and deserialization.
⭐️ 0
🕓 1 year ago
🔖 Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
0.0.2
2 years ago
- Improved Xcode 12 compatibility by using more recent versions of the dependancies.
0.0.1
2 years ago
First release of the library, refer to the readme and the source code for more info.
iOS macOS

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