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 1.3.0
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.
⭐️ 12
🕓 15 weeks 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.3.0
15 weeks 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
27 weeks 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
27 weeks ago
- Improved printing management - Fix compiling for non mac-platforms
1.1.0
28 weeks 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
29 weeks ago
Fixed Apple Silicon detection bug
1.0.0
29 weeks ago
First release of this project, to learn more about it check out the README file.
iOS macOS watchOS tvOS
ITzTravelInTime/CommandSudo 1.1.14
Extension Swift Library for the Command library (that can be found here https://github.com/ITzTravelInTime/Command) that provides support for privileged operations.
⭐️ 2
🕓 10 weeks 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.14
10 weeks ago
- Updated dependancies. - Updated the legal information across the source files.
1.1.13
17 weeks 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
22 weeks 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
27 weeks 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
29 weeks ago
Removed useless re-initialisation of `TINUNotifications.shared` for each time the authentication user notification is sent.
1.0.1
29 weeks ago
First publicly available release, check out the README for more info about the project.
macOS
ITzTravelInTime/Command 2.1.2
A Swift Library to launch, execute, and get the output of, executables and terminal commands/scripts in a simple and quick way.
⭐️ 1
🕓 20 weeks 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.1.2
20 weeks ago
- Fixed a crash occurring thwne 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
27 weeks 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
29 weeks ago
- Fixed bugs for extension libraries
1.1.1
29 weeks ago
Dropped the thread assertion check, it was too unreliable.
1.1.0
29 weeks 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
29 weeks ago
First release of this Library, check out the README and the source code to learn more about it.
iOS macOS
ITzTravelInTime/TINURecovery 4.0.1
macOS Swift library, from TINU, to detect: Recovery Mode, SIP, Sandbox and Current User. Also provviding NVRAM read/write functions.
⭐️ 1
🕓 9 weeks 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.
4.0.1
9 weeks 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
10 weeks 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
14 weeks ago
- Fixed a possible crash that could happen if SIP detection fails. - Improved the CSR_ALLOW_UNRESTRICTED_FS description.
3.7.6
22 weeks 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
26 weeks 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.
3.6.0
26 weeks ago
- Ditched the use of the `Command` swift package - `SIP` detection now uses the IORegistry to retrive the current SIP status, and so the status is now determined using the SIP integer value from nvram (completely ditching the old method made using the csrutil command) - `SIP.SIPStatus` is now an integer and so it will be encoded as an integer now - Added `CSR_DISABLE_FLAGS` to `SIP.SIPBits` which returns an integer mask value to use to evaluate the SIP disabled status - Added `CSR_VALID_FLAGS` to `SIP.SIPbits` which returns a list of supported flags for the current OS version - Added an `NVRAM` class that allows to read and write values to nvram using the IORegistry - Updated credits and examples in the README - The package now should be Sandboxing-friendly again
3.5.1
26 weeks ago
- Added string names for the `SIP.SIPBits` cases.
3.5.0
26 weeks ago
- Updated the included Demo Playground to run with the latest version of the `Command` package. - Added precise detection of SIP using nvram, you can now retrive all the SIP Bit values using this library.
3.4.2
27 weeks ago
- Updated platform requirements and dependancies
3.4.1
27 weeks ago
- Dropped the `SwiftCPUDetect` dependancy because it's no longer used - Added a demo playground to try out the library immediately and for quick debug - Updated the README and the examples - Changed the name and the access scope of the `Log` class, it's now called `Printer` and it's public - All features except for the `SimulatableDetectable` protocol are available only on macOS - Updated dependancies - Updated supported platforms
iOS macOS
ITzTravelInTime/SwiftLoggedPrint 3.2.0
Swift Library for logged and better prints.
⭐️ 1
🕓 9 weeks 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.2.0
9 weeks 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
10 weeks ago
- Fixed a crash that can occur while performing a log read. - Improved log reading code and performance.
3.1.0
10 weeks ago
- Added initialisation from file for `Decodable` types.
3.0.3
22 weeks ago
- Bug fix
Build 3.0.1
27 weeks 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
27 weeks ago
- Updated platform requirements
Build 2.2.1
28 weeks 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
28 weeks ago
- Bug fixes
iOS macOS
ITzTravelInTime/TINUNotifications 3.0.7
The notifications code from TINU! Use this library to easily create and send simple notifications.
⭐️ 0
🕓 10 weeks 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
10 weeks ago
- Updated dependancies for bug fixes. - Updated legal info trought the source code.
3.0.6
22 weeks 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
29 weeks 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
29 weeks ago
Fixed a bug that prevented the library from working when used for command line tool apps.
1.0.5
29 weeks ago
Fixed initialisation of `TINUNotifications` from external modules, this should also allow for the creation of subclasses of `TINUNotifications`.
1.0.4
29 weeks ago
Updated dependencies to the latest versions
1.0.3
29 weeks ago
First release of this package, for more info check the README file.
iOS macOS

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