Ma non dormi mai? – Behind Schedipedia

👋 INTRO

Da piccolo ho sempre seguito il collezionismo in generale grazie alla passione trasmessa da mio padre (monete, banconote, schede telefoniche, francobolli, etc…) poi con gli anni è calato l’interesse in quanto come passione diventava sempre più costosa quando iniziavano a mancare soltanto le rarità…

Ultimamente ho ritrovato a casa dei miei genitori la mia vecchia collezione di schede telefoniche che ho deciso di riprendere in mano.

Ho acquistato dei cataloghi recenti ed iniziato a rimettere tutto in ordine, soltanto che a furia di acquistare involontariamente doppioni ho pensato mi servisse uno strumento per gestire il tutto in maniera facile e veloce.

Nulla di geniale ovviamente ma non essendoci nulla sul mercato ho pensato bene di fare un’app utile al mio scopo.

Inizialmente era solo per iOS (essendo appunto uno sviluppatore principalmente iOS), girava in locale e la usavo soltanto io, dopodiché ho pensato di metterci i “fiocchettini” e l’ho resa disponibile a tutti. Creando in seguito anche la versione per Android.

🔥 Essendo un appassionato collezionista ed un appassionato di sviluppo software mi sono calato nei panni di un full-stackv2.

Al solito visto che non è il mio lavoro principale e il tempo libero durante il giorno è poco, ho con piacere rinunciato a qualche ora di sonno durante le serate invernali…


Read More
 

Schedipedia is now live!

Schedipedia, a digital catalogue for collecting phone-cards!

Read More
 

Add a custom view on the Status Bar in macOS with SwiftUI

The macOS status bar is a powerful and convenient place to display essential information or provide quick access to your app’s functionality. By default, the status bar displays a standard system icon, but sometimes you may want to create a more customized experience by using your own views. In this blog post, we’ll walk you through how to use a custom view on the status bar in macOS using Swift and SwiftUI.


Prerequisites

Before we get started, make sure you have the following:

Read More
 

macOS Forensis – Analyze file timestamps in deep

In digital forensics, analyzing timestamps can provide valuable insights into the timeline of events and help reconstruct a digital crime scene. This article focuses on macOS forensics and delves into the analysis of timestamps using a real-world example.

By examining the metadata of a file, specifically the “icon.png.webp” file, we will explore various timestamps and their significance in forensic investigations.


Example

Let’s start by analyzing the metadata of the “icon.png.webp” file using the “mdls” command in macOS, generally located in /usr/bin/mdls.

Read More
 

Simplifying Data Persistence with Property Wrappers in Swift

In modern software development, data persistence plays a crucial role in preserving and accessing user preferences and app state across sessions. With the release of Swift 5.1, a new feature called property wrappers was introduced, which allows developers to encapsulate and automate common behaviors associated with property access. In this article, we will explore how property wrappers can simplify data persistence using a practical example.


Code Example

Let’s consider a scenario where we want to persist various user settings in our app, such as the user’s name, preferred currency, color scheme, profile picture, and the ID of the latest order placed. We can leverage the power of property wrappers to achieve this in a concise and efficient manner.

Add a property wrapper

In this way we add a @Storable property to use in your application.

Read More
 

File Encryption and Decryption in Swift using AES Algorithm

Data security is of utmost importance when dealing with sensitive information. Encryption plays a vital role in safeguarding data from unauthorized access. In this technical blog, we will explore how to encrypt and decrypt files in Swift using the Advanced Encryption Standard (AES) algorithm. We will provide a Swift implementation that demonstrates the encryption and decryption process using a symmetric key.


Final project

This tutorial allow you to create a simple macOS status bar application (with registered file handle: “Open with…”) for crypt and encrypt file, instantly and easily:


AES Encryption and Decryption:

AES is a widely used encryption algorithm that provides a strong level of security. It operates on fixed-size blocks of data and supports key sizes of 128, 192, and 256 bits. AES uses symmetric encryption, meaning the same key is used for both encryption and decryption.

Read More
 

Unlocking the Power of AWS IoT SDK: use MQTT with GPS on iOS


The Internet of Things (IoT) is transforming the way we interact with the world around us. AWS offers a robust suite of services for developing and managing IoT solutions, including the AWS IoT SDK for iOS and Android. In this detailed article, we will explore how to effectively utilize the AWS IoT SDK to create a sample iOS application that leverages MQTT protocol for sending GPS locations.

Prerequisites:

To get started, you will need the following:

  • An AWS account with access to AWS IoT resources.
  • Basic knowledge of iOS development using the Swift programming language.
  • Familiarity with Android development using either Java or Kotlin.

Step 1: AWS IoT Configuration:


Learn how to configure AWS IoT to establish a seamless connection between your devices and the cloud. Follow these steps:

Read More
 

Swift – Simple full screen loader

Hello,

resuming an old post, that help you to create an UIAlert extension to show a modal popup, https://www.albertopasca.it/whiletrue/objective-c-modal-view-in-navigation-and-tabbar-controller-projects/ , I’ve created a new modern implementation that use UIWindow.

The scope is to show a spinner (or a Lottie spinner, or whatever you prefer), centered in the screen with automatic or manually dismission. Background can be blurred or colored, like this screen:

Read More
 

macOS – Disable microphone while typing

A simple application, written in Swift and Apple Script to disable the macOS global microphone (specially during a Zoom/Teams/Skype/whatever call).

The idea is to avoid sending the “chunky” sound to the others, during a call…

How it works

Read More
 

iOS – Secure app sensitive information

Today I want to share a fresh new Swift Package SDK that helps you to hide sensitive informations on your app, like banking apps, in a easy way!

You’ll be notified via callback (optional) when a defined rule occur, and apply the right custom protection you prefer or simply use the integrated blur that cover your app automatically.


Available protections

While writing this post, the SDK provide these protections callbacks:

Read More