Swiftpack.co - Package - dooZdev/ZFile


Test - Integrate - Build status: @dooZdev Build Status @Bolides Build Status

An effort to have a throwable alternative to using files

It builds:

  1. ZFile for macOS and iOS.
  2. FoundationGenericHelpers
  3. Mocks for both

Build setup

ZFile is setup using Highway

For the first use do


cd /Users/stijnwillems/Documents/dooZ/Open/template-sourcery/ZFHighwaySetup
# Build setup executable
if [ ! -f ./.build/x86_64-apple-macosx10.10/release/ZFHighwaySetup ]; then
echo "TSHighwaySetup, not found - building for source"
swift build --product TSHighwaySetup -c release --static-swift-stdlib

# Execute the script
# Allow push on success

After that for every push you do code will be generated and tast will run before the push can complete successfully.

Add ZFile to your project

Swift Package

Preferred is using swift package add .package(url: "https://github.com/doozMen/ZFile", from: "2.0.0"),

then to swift build in your project


Building is done with Xcode and not with Carthage. You can chose to checkout with submodules or just checkout without building.

Integrate ZFile

Add ZFile.xcodeproj as sub project to your project


Stars: 0
Help us keep the lights on


Used By

Total: 0


4.0.3 - Jul 26, 2019

3.0.7 - Jul 22, 2019

Different way of generating protocols and mocks

1.0.1 - Jan 30, 2019

1.0 - Dec 29, 2018

You can:

  • read & write and throw
  • iterate folders/files
  • mock files & folders
  • mock Bundle