A comprehensive collection of Swift utilities and extensions for iOS development. This library provides commonly used extensions and helpers that make iOS development more efficient and enjoyable.
- Weak Reference Handling: Safely handle weak references in Combine chains
- Array CombineLatest: Combine multiple publishers into a single array output
- Publisher Mapping: Map publishers to values, void, or different error types
- Value Publishers: Create publishers from values or errors
- Task Sleep: Convenient sleep methods for async tasks with millisecond and second precision
- String Utilities: Empty string creation and non-empty checks
- View Modifiers:
onLoad: Execute code only once when a view appearsshowIf: Conditionally show/hide viewsenabled: Enable/disable views based on boolean conditionsreadSize: Read view geometry sizes with callback
- iOS 13.0+
- Swift 6.1+
- Xcode 16.0+
# Build the package
swift build
# Run tests
swift test
# Open in Xcode
open Package.swiftThe library includes comprehensive tests. Run them using:
swift test --verboseContributions are welcome! Please feel free to submit a Pull Request.
Created by Gaston Mazzeo