├── .gitignore ├── .swiftpm └── xcode │ └── package.xcworkspace │ └── contents.xcworkspacedata ├── LICENSE ├── Package.resolved ├── Package.swift ├── README.md ├── Sources └── SwiftUIViewRecorder │ ├── Common │ ├── ViewFrame.swift │ ├── ViewRecordingError.swift │ ├── ViewRecordingSession.swift │ ├── ViewRecordingSessionViewModel.swift │ └── ViewToUIView.swift │ ├── FramesRenderer.swift │ ├── Image │ ├── ViewAsImage.swift │ └── ViewImageCapturingViewModel.swift │ ├── Video │ ├── UIImagesToVideo.swift │ ├── UIImagesToVideoError.swift │ ├── VideoRenderer.swift │ └── ViewAsVideo.swift │ └── ViewAssetRecordingSession.swift └── Tests ├── LinuxMain.swift └── SwiftUIViewRecorderTests ├── AssetGenerationError.swift ├── FramesRendererMock.swift ├── TestImageData.swift ├── UIImagesToVideoTest.swift ├── ViewRecordingSessionTest.swift ├── ViewRecordingSessionViewModelTest.swift └── XCTestManifests.swift /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | /.build 3 | /Packages 4 | /*.xcodeproj 5 | xcuserdata/ 6 | -------------------------------------------------------------------------------- /.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frolovilya/SwiftUIViewRecorder/HEAD/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frolovilya/SwiftUIViewRecorder/HEAD/LICENSE -------------------------------------------------------------------------------- /Package.resolved: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frolovilya/SwiftUIViewRecorder/HEAD/Package.resolved -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frolovilya/SwiftUIViewRecorder/HEAD/Package.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frolovilya/SwiftUIViewRecorder/HEAD/README.md -------------------------------------------------------------------------------- /Sources/SwiftUIViewRecorder/Common/ViewFrame.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frolovilya/SwiftUIViewRecorder/HEAD/Sources/SwiftUIViewRecorder/Common/ViewFrame.swift -------------------------------------------------------------------------------- /Sources/SwiftUIViewRecorder/Common/ViewRecordingError.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frolovilya/SwiftUIViewRecorder/HEAD/Sources/SwiftUIViewRecorder/Common/ViewRecordingError.swift -------------------------------------------------------------------------------- /Sources/SwiftUIViewRecorder/Common/ViewRecordingSession.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frolovilya/SwiftUIViewRecorder/HEAD/Sources/SwiftUIViewRecorder/Common/ViewRecordingSession.swift -------------------------------------------------------------------------------- /Sources/SwiftUIViewRecorder/Common/ViewRecordingSessionViewModel.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frolovilya/SwiftUIViewRecorder/HEAD/Sources/SwiftUIViewRecorder/Common/ViewRecordingSessionViewModel.swift -------------------------------------------------------------------------------- /Sources/SwiftUIViewRecorder/Common/ViewToUIView.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frolovilya/SwiftUIViewRecorder/HEAD/Sources/SwiftUIViewRecorder/Common/ViewToUIView.swift -------------------------------------------------------------------------------- /Sources/SwiftUIViewRecorder/FramesRenderer.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frolovilya/SwiftUIViewRecorder/HEAD/Sources/SwiftUIViewRecorder/FramesRenderer.swift -------------------------------------------------------------------------------- /Sources/SwiftUIViewRecorder/Image/ViewAsImage.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frolovilya/SwiftUIViewRecorder/HEAD/Sources/SwiftUIViewRecorder/Image/ViewAsImage.swift -------------------------------------------------------------------------------- /Sources/SwiftUIViewRecorder/Image/ViewImageCapturingViewModel.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frolovilya/SwiftUIViewRecorder/HEAD/Sources/SwiftUIViewRecorder/Image/ViewImageCapturingViewModel.swift -------------------------------------------------------------------------------- /Sources/SwiftUIViewRecorder/Video/UIImagesToVideo.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frolovilya/SwiftUIViewRecorder/HEAD/Sources/SwiftUIViewRecorder/Video/UIImagesToVideo.swift -------------------------------------------------------------------------------- /Sources/SwiftUIViewRecorder/Video/UIImagesToVideoError.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frolovilya/SwiftUIViewRecorder/HEAD/Sources/SwiftUIViewRecorder/Video/UIImagesToVideoError.swift -------------------------------------------------------------------------------- /Sources/SwiftUIViewRecorder/Video/VideoRenderer.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frolovilya/SwiftUIViewRecorder/HEAD/Sources/SwiftUIViewRecorder/Video/VideoRenderer.swift -------------------------------------------------------------------------------- /Sources/SwiftUIViewRecorder/Video/ViewAsVideo.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frolovilya/SwiftUIViewRecorder/HEAD/Sources/SwiftUIViewRecorder/Video/ViewAsVideo.swift -------------------------------------------------------------------------------- /Sources/SwiftUIViewRecorder/ViewAssetRecordingSession.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frolovilya/SwiftUIViewRecorder/HEAD/Sources/SwiftUIViewRecorder/ViewAssetRecordingSession.swift -------------------------------------------------------------------------------- /Tests/LinuxMain.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frolovilya/SwiftUIViewRecorder/HEAD/Tests/LinuxMain.swift -------------------------------------------------------------------------------- /Tests/SwiftUIViewRecorderTests/AssetGenerationError.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frolovilya/SwiftUIViewRecorder/HEAD/Tests/SwiftUIViewRecorderTests/AssetGenerationError.swift -------------------------------------------------------------------------------- /Tests/SwiftUIViewRecorderTests/FramesRendererMock.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frolovilya/SwiftUIViewRecorder/HEAD/Tests/SwiftUIViewRecorderTests/FramesRendererMock.swift -------------------------------------------------------------------------------- /Tests/SwiftUIViewRecorderTests/TestImageData.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frolovilya/SwiftUIViewRecorder/HEAD/Tests/SwiftUIViewRecorderTests/TestImageData.swift -------------------------------------------------------------------------------- /Tests/SwiftUIViewRecorderTests/UIImagesToVideoTest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frolovilya/SwiftUIViewRecorder/HEAD/Tests/SwiftUIViewRecorderTests/UIImagesToVideoTest.swift -------------------------------------------------------------------------------- /Tests/SwiftUIViewRecorderTests/ViewRecordingSessionTest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frolovilya/SwiftUIViewRecorder/HEAD/Tests/SwiftUIViewRecorderTests/ViewRecordingSessionTest.swift -------------------------------------------------------------------------------- /Tests/SwiftUIViewRecorderTests/ViewRecordingSessionViewModelTest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frolovilya/SwiftUIViewRecorder/HEAD/Tests/SwiftUIViewRecorderTests/ViewRecordingSessionViewModelTest.swift -------------------------------------------------------------------------------- /Tests/SwiftUIViewRecorderTests/XCTestManifests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frolovilya/SwiftUIViewRecorder/HEAD/Tests/SwiftUIViewRecorderTests/XCTestManifests.swift --------------------------------------------------------------------------------