├── .gitignore ├── .swiftpm └── xcode │ └── package.xcworkspace │ └── contents.xcworkspacedata ├── Documentation └── xc.png ├── LICENSE ├── Makefile ├── Package.resolved ├── Package.swift ├── README.md ├── Sources └── ShapeBuilder │ ├── BuiltShape.swift │ ├── EitherShape.swift │ ├── EmptyShape.swift │ ├── InsettableShapeBuilder.swift │ └── ShapeBuilder.swift └── Tests └── ShapeBuilderTests ├── InsettableShapeBuilderTests.swift ├── ShapeBuilderTests.swift └── __Snapshots__ ├── InsettableShapeBuilderTests ├── test_conditional_false.1.png ├── test_conditional_false_inset_by.1.png ├── test_conditional_true.1.png ├── test_conditional_true_inset_by.1.png ├── test_optional_exists.1.png ├── test_optional_exists_inset_by.1.png ├── test_optional_nil.1.png └── test_optional_nil_inset_by.1.png └── ShapeBuilderTests ├── test_conditional_false.1.png ├── test_conditional_true.1.png ├── test_optional_exists.1.png └── test_optional_nil.1.png /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohitsdaniel/ShapeBuilder/HEAD/.gitignore -------------------------------------------------------------------------------- /.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohitsdaniel/ShapeBuilder/HEAD/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /Documentation/xc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohitsdaniel/ShapeBuilder/HEAD/Documentation/xc.png -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohitsdaniel/ShapeBuilder/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohitsdaniel/ShapeBuilder/HEAD/Makefile -------------------------------------------------------------------------------- /Package.resolved: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohitsdaniel/ShapeBuilder/HEAD/Package.resolved -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohitsdaniel/ShapeBuilder/HEAD/Package.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohitsdaniel/ShapeBuilder/HEAD/README.md -------------------------------------------------------------------------------- /Sources/ShapeBuilder/BuiltShape.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohitsdaniel/ShapeBuilder/HEAD/Sources/ShapeBuilder/BuiltShape.swift -------------------------------------------------------------------------------- /Sources/ShapeBuilder/EitherShape.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohitsdaniel/ShapeBuilder/HEAD/Sources/ShapeBuilder/EitherShape.swift -------------------------------------------------------------------------------- /Sources/ShapeBuilder/EmptyShape.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohitsdaniel/ShapeBuilder/HEAD/Sources/ShapeBuilder/EmptyShape.swift -------------------------------------------------------------------------------- /Sources/ShapeBuilder/InsettableShapeBuilder.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohitsdaniel/ShapeBuilder/HEAD/Sources/ShapeBuilder/InsettableShapeBuilder.swift -------------------------------------------------------------------------------- /Sources/ShapeBuilder/ShapeBuilder.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohitsdaniel/ShapeBuilder/HEAD/Sources/ShapeBuilder/ShapeBuilder.swift -------------------------------------------------------------------------------- /Tests/ShapeBuilderTests/InsettableShapeBuilderTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohitsdaniel/ShapeBuilder/HEAD/Tests/ShapeBuilderTests/InsettableShapeBuilderTests.swift -------------------------------------------------------------------------------- /Tests/ShapeBuilderTests/ShapeBuilderTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohitsdaniel/ShapeBuilder/HEAD/Tests/ShapeBuilderTests/ShapeBuilderTests.swift -------------------------------------------------------------------------------- /Tests/ShapeBuilderTests/__Snapshots__/InsettableShapeBuilderTests/test_conditional_false.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohitsdaniel/ShapeBuilder/HEAD/Tests/ShapeBuilderTests/__Snapshots__/InsettableShapeBuilderTests/test_conditional_false.1.png -------------------------------------------------------------------------------- /Tests/ShapeBuilderTests/__Snapshots__/InsettableShapeBuilderTests/test_conditional_false_inset_by.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohitsdaniel/ShapeBuilder/HEAD/Tests/ShapeBuilderTests/__Snapshots__/InsettableShapeBuilderTests/test_conditional_false_inset_by.1.png -------------------------------------------------------------------------------- /Tests/ShapeBuilderTests/__Snapshots__/InsettableShapeBuilderTests/test_conditional_true.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohitsdaniel/ShapeBuilder/HEAD/Tests/ShapeBuilderTests/__Snapshots__/InsettableShapeBuilderTests/test_conditional_true.1.png -------------------------------------------------------------------------------- /Tests/ShapeBuilderTests/__Snapshots__/InsettableShapeBuilderTests/test_conditional_true_inset_by.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohitsdaniel/ShapeBuilder/HEAD/Tests/ShapeBuilderTests/__Snapshots__/InsettableShapeBuilderTests/test_conditional_true_inset_by.1.png -------------------------------------------------------------------------------- /Tests/ShapeBuilderTests/__Snapshots__/InsettableShapeBuilderTests/test_optional_exists.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohitsdaniel/ShapeBuilder/HEAD/Tests/ShapeBuilderTests/__Snapshots__/InsettableShapeBuilderTests/test_optional_exists.1.png -------------------------------------------------------------------------------- /Tests/ShapeBuilderTests/__Snapshots__/InsettableShapeBuilderTests/test_optional_exists_inset_by.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohitsdaniel/ShapeBuilder/HEAD/Tests/ShapeBuilderTests/__Snapshots__/InsettableShapeBuilderTests/test_optional_exists_inset_by.1.png -------------------------------------------------------------------------------- /Tests/ShapeBuilderTests/__Snapshots__/InsettableShapeBuilderTests/test_optional_nil.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohitsdaniel/ShapeBuilder/HEAD/Tests/ShapeBuilderTests/__Snapshots__/InsettableShapeBuilderTests/test_optional_nil.1.png -------------------------------------------------------------------------------- /Tests/ShapeBuilderTests/__Snapshots__/InsettableShapeBuilderTests/test_optional_nil_inset_by.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohitsdaniel/ShapeBuilder/HEAD/Tests/ShapeBuilderTests/__Snapshots__/InsettableShapeBuilderTests/test_optional_nil_inset_by.1.png -------------------------------------------------------------------------------- /Tests/ShapeBuilderTests/__Snapshots__/ShapeBuilderTests/test_conditional_false.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohitsdaniel/ShapeBuilder/HEAD/Tests/ShapeBuilderTests/__Snapshots__/ShapeBuilderTests/test_conditional_false.1.png -------------------------------------------------------------------------------- /Tests/ShapeBuilderTests/__Snapshots__/ShapeBuilderTests/test_conditional_true.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohitsdaniel/ShapeBuilder/HEAD/Tests/ShapeBuilderTests/__Snapshots__/ShapeBuilderTests/test_conditional_true.1.png -------------------------------------------------------------------------------- /Tests/ShapeBuilderTests/__Snapshots__/ShapeBuilderTests/test_optional_exists.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohitsdaniel/ShapeBuilder/HEAD/Tests/ShapeBuilderTests/__Snapshots__/ShapeBuilderTests/test_optional_exists.1.png -------------------------------------------------------------------------------- /Tests/ShapeBuilderTests/__Snapshots__/ShapeBuilderTests/test_optional_nil.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ohitsdaniel/ShapeBuilder/HEAD/Tests/ShapeBuilderTests/__Snapshots__/ShapeBuilderTests/test_optional_nil.1.png --------------------------------------------------------------------------------