Send data between Apple devices (iPhone/iPad/macOS) using Multipeer Connectivity

Today I want to introduce an Apple framework, called Multipeer Connectivity.

“The Multipeer Connectivity framework supports the discovery of services provided by nearby devices and supports communicating with those services through message-based data, streaming data, and resources (such as files). In iOS, the framework uses infrastructure Wi-Fi networks, peer-to-peer Wi-Fi, and Bluetooth personal area networks for the underlying transport. In macOS and tvOS, it uses infrastructure Wi-Fi, peer-to-peer Wi-Fi, and Ethernet.”

Reference here: https://developer.apple.com/documentation/multipeerconnectivity

Continue reading “Send data between Apple devices (iPhone/iPad/macOS) using Multipeer Connectivity”

Swift – Useful NotificationName extension

Very often you should use a notification name in your code and every time you miss something, you write the wrong name and so on…

I want to simplify the coding like, so I use this solution. Easy and simple for me and I want to share:

Continue reading “Swift – Useful NotificationName extension”

Swift – Native OCR reader

Starting from iOS 11, Apple introduces a new framework called Vision.

The Vision framework performs face and face landmark detection, text detection, barcode recognition, image registration, and general feature tracking. Vision also allows the use of custom Core ML models for tasks like classification or object detection.

https://developer.apple.com/documentation/vision

Today we implement with few lines of code one of the simplest features of this beautiful framework, the OCR reader.

Continue reading “Swift – Native OCR reader”

Insects Hunter – AR shooter for iOS

Today I want to tell you what happened on my latest iOS game released, “Insects Hunter – AR Shooter“… and why the insects?

Before starting, download it from App Store (it’s free for a couple of months!

Insects Hunter – AR Shooter

I started the development of this simple game during the quarantine, the scope was to kill all the COVID-19 viruses that appear around your photo-camera.

Continue reading “Insects Hunter – AR shooter for iOS”