{"id":17163260,"url":"https://github.com/noppefoxwolf/holo","last_synced_at":"2025-04-13T13:31:07.567Z","repository":{"id":56914606,"uuid":"197367432","full_name":"noppefoxwolf/Holo","owner":"noppefoxwolf","description":"Dummy camera works on simurator without changes.","archived":false,"fork":false,"pushed_at":"2019-07-27T13:23:08.000Z","size":12778,"stargazers_count":55,"open_issues_count":4,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-05-02T05:46:01.894Z","etag":null,"topics":["avfoundation","ios","mocking-framework"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/noppefoxwolf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-17T10:26:12.000Z","updated_at":"2023-12-18T12:29:05.000Z","dependencies_parsed_at":"2022-08-21T03:50:26.634Z","dependency_job_id":null,"html_url":"https://github.com/noppefoxwolf/Holo","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noppefoxwolf%2FHolo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noppefoxwolf%2FHolo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noppefoxwolf%2FHolo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noppefoxwolf%2FHolo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noppefoxwolf","download_url":"https://codeload.github.com/noppefoxwolf/Holo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248720992,"owners_count":21151023,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["avfoundation","ios","mocking-framework"],"created_at":"2024-10-14T22:48:25.773Z","updated_at":"2025-04-13T13:31:02.551Z","avatar_url":"https://github.com/noppefoxwolf.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](https://github.com/noppefoxwolf/Holo/blob/master/.github/Logo.png)\n\n## Usage \n\nIt's easy to use.\n\nAdd these lines to your project code.\n\nThese works for replacing the implementation at the time of simulator execution.\n\n```swift\n#if targetEnvironment(simulator)\nimport Holo\npublic typealias AVCaptureDevice = AnyCaptureDevice\npublic typealias AVCaptureDeviceInput = AnyCaptureDeviceInput\npublic typealias AVCaptureSession = AnyCaptureSessionContainer\npublic typealias AVCaptureVideoDataOutput = AnyCaptureVideoDataOutput\npublic typealias AVCaptureConnection = AnyCaptureConnection\npublic typealias AVCaptureVideoDataOutputSampleBufferDelegate = AnyCaptureVideoDataOutputSampleBufferDelegate\npublic typealias AVCaptureOutput = AnyCaptureOutput\npublic typealias AVCaptureInput =  AnyCaptureInput\npublic typealias AVDiscoverySession = AVCaptureDevice.AnyDiscoverySession\n#endif\n```\n\nYou can decide dummy camera contents.\n\n```swift\n#if targetEnvironment(simulator)\nHoloSettings.shared.mode = .video(Bundle.main.url(forResource: \"video\", withExtension: \"mp4\")!)\n#endif\n```\n\n## Screenshots\n\n**Before**\n\n![](https://github.com/noppefoxwolf/Holo/blob/master/.github/1.gif)\n\n**After**\n\n![](https://github.com/noppefoxwolf/Holo/blob/master/.github/2.gif)\n\n## Requirements\n\n## Installation\n\nHolo is available through [CocoaPods](https://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod 'Holo', git: 'git@github.com:noppefoxwolf/Holo.git', branch: 'master'\n```\n\n## Author\n\nnoppefoxwolf, noppelabs@gmail.com\n\n## License\n\nHolo is available under the MIT license. See the LICENSE file for more info.\n\n## Thanks\n\nExample files from [File Example](https://file-examples.com/index.php).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoppefoxwolf%2Fholo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoppefoxwolf%2Fholo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoppefoxwolf%2Fholo/lists"}