I'm Alberto, a software developer with a strong passion for mobile platforms (Symbian/iOS/Android/Windows).

In my career, I used various technologies and programming languages for full-stack completeness; I've worked as pc-technician, as UNIX sys-admin for networks (Solaris/Cisco IOS/Linux), as Frontend and Backend developer (full-stack), and of course as a Mobile developer.
I like to make tools for macOS, IOT stuffs, lots of mobile app and funny games, also with Unity3d.

Reach the highest possible code-coverage and unit tests for a better CI and CD is my favorite hobby.

latest blog articles

Connect to Wifi network from code – Swift

Alberto Pasca @ 2019/11/03 20:00:15

With the NetworkExtension framework, you can customize and extend the core networking features of iOS and macOS. Specifically, you can: Change the system’s Wi-Fi configurationIntegrate your app with the hotspot network subsystem (Hotspot Helper)Create and manage VPN configurations, using the bu[...]

TAGS: #ios #NEHotspotConfiguration #NEHotspotConfigurationManager #network #NetworkExtension #ssid #swift #wifi #mobile

SWIFT – Create filled array using map

Alberto Pasca @ 2019/08/03 23:54:01

A simple trick using .map to create directly a new Int array with random numbers inside. The function produce this output: array[0] = 1array[1] = 5array[2] = 3[...]array[30] = 1 func generateArray() -> [Int] { let monthDays = Calendar.current.numberOfDaysInMonthForDate(Date()) let array =[...]

TAGS: #generic #macOS #mobile #swift