App creating app for mac

broken image
broken image

After all the webcam of a laptop is just another video feed.įirst part of the code is to adapt my previous PlayerView with a NSView to display a capture video layer. Since I recently explored how to use AVFoundation with SwiftUI on iOS, I thought it would be similar enough to reuse for a macOS app version. Then I started wondering how hard it would be to create a small utility app to improve this.

broken image

Also the shape of the player is limited to its window, it has to be a square. If this worked fairly decently, it gets tricky if the cursor goes over the player window during the presentation. When I google how to record my screen as well as my webcam on macOS, most of tutorials point to QuickTime Player, keeping a window in a corner of the screen. Today, we’ll code our own utility camera app for macOS in SwiftUI. One of my problem in this pre-recorded format was to keep a “miniature” of my camera in a corner of the screen. During the couple months prior to the event, I spent my free time recording myself going through code sharing session and slides. I recently got chance to be part of my first online tech conference where I shared about Localization in SwiftUI. How hard could it be to create our own? Today, we’ll code our own webcam utility app for macOS in SwiftUI. Did you ever have to share your screen and camera together? I recently did and it was that easy.