Building Video Streaming iOS App

Introduction I was looking for a way to add a video player to my iOS app that could be able to play remote videos. Caveats Problem I found that you can’t open Vimeo or Youtube videos because of AVFoundationErrorDomain Code=-11850 "Operation Stopped" UserInfo={NSLocalizedFailureReason=The server is not correctly configured Domain=NSOSStatusErrorDomain Code=-12939 error. I don’t know exactly what this means, but I’m speculating it’s related to some protection. Solution My solution was to find another video that is not related to those platforms....

May 3, 2024 · 1 min · Dmytro Chumakov

Building Group Chat using WebSockets

Introduction I never had a chance to work with WebSockets, so I decided to take a look and create a group chat. Here’s what I discovered: To be able to send and receive messages, you need to create an interface for communication between a server and your application. In my case, I chose sendMessage and receiveMessage methods. For the server-side, I chose Node.js. For the iOS application, I chose the Socket....

May 2, 2024 · 4 min · Dmytro Chumakov

Exploring visionOS

Introduction I find myself fascinated by the idea of creating an app for visionOS where I could possibly display 3D AirPods that I like. Here are a few steps on how you can do the same: First step The first step that you need to do is to create a visionOS project. Second step The next step would be adding a 3D object to Reality Composer Pro and exporting it as a ....

May 2, 2024 · 1 min · Dmytro Chumakov

iOS AR App: Experience 3D Guitar

Introduction I was searching for an AR implementation of a 3D guitar inside an iOS app. Here’s what I discovered: First Step The first step is not related to building the app. Before that you need to create a project using the Reality Composer Pro app (you can find it through Spotlight search). Second Step After that, you need to visit https://developer.apple.com/augmented-reality/quick-look/ and download one of the USDZ files. In my case, I chose the 3D guitar....

May 1, 2024 · 2 min · Dmytro Chumakov

Building movie recommendations using ML

Introduction I was wondering about how to create movie recommendations, so I decided to take a closer look and find out more about this topic. This is what I found: First step: You need to create a JSON file with the data that you will use to train the model and define the parameters for training the model. [ { "title": "Avatar", "year": "2009", "rated": "PG-13", "released": "18 Dec 2009", "runtime": "162 min", "genre": "Action, Adventure, Fantasy", "director": "James Cameron", "writer": "James Cameron", "actors": "Sam Worthington, Zoe Saldana, Sigourney Weaver, Stephen Lang", "plot": "A paraplegic marine dispatched to the moon Pandora on a unique mission becomes torn between following his orders and protecting the world he feels is his home....

May 1, 2024 · 5 min · Dmytro Chumakov