Swift Code Metrics

Grafico delle dipendenze – grafico del rapporto tra astrazione e instabilità delle librerie e distribuzione dei moduli nel progetto (esempi generati da SCM)

Swift Code Metrics é una libreria Python per misurare le metriche di un progetto in Swift. Ho scritto un articolo su Medium (pubblicato anche su iosdevweekly) che descrive più in dettaglio il significato e l’importanza di misurare metriche sintetiche come il numero di linee di codice (LOC) oppure misurare il grado di accoppiamento delle varie librerie.

La libreria dipende da Python 3 e i grafici sono generati tramite GraphViz. Per installarlo su Mac OSX potete usare HomeBrew tramite il comando seguente:

brew install graphviz

Una volta installato GraphViz, é sufficiente eseguire il comando :

pip3 install swift-code-metrics 

Seguite il progetto su GitHub e aprite una issue nel caso incontriate dei problemi; cercherò di rispondere quanto presto.

Cater Allen mobile banking iOS app

Cater Allen bank operates in Uk and provides banking services mainly for private and small businesses. Unfortunately, they don’t provide an official mobile banking app yet (as per today, late 2018), so every operation has to be made through their official website.

I found that quite frustrating, that’s why I developed a simple open source iOS app, CaterAllenApphttps://github.com/matsoftware/CaterAllenApp ) to provide, at a very least, the ability to automatically log in using securely stored credentials on the iPhone / iPad.

The logic behind it’s quite simple. It relies on javascript to communicate to the website using an internal zoomable WebView.

To install the app you need an Apple developer account to provide your own bundle identifier, sign and deploy the binary to your devices.

I hope that this tool will be useful for other Cater Allen banks’ users.

CSV2PLIST

CSV2PLIST ( available on the Mac AppStore for only 0.99 £ ), it’s a simple tool to convert CSV files into PLIST ones to be used in iOS and MacOS development.

This tool works by converting files in three different formats:

  • Dictionary: the first row of the CSV defines the key of the resulting dictionaries
  • Array: The root element of the plist is an array of dictionaries made of each record in the CSV file; if the CSV contains only one column, it will return an array of strings
  • Set: like the array, with unique values

This is the perfect tool for developers that have to import business rules such as URLs, multiple parameters or test data easily in their iOS or MacOS project.

Download the app from the Mac App Store

iHelpYou

E’ uscito un nuovo prodotto realizzato dalla eFuture s.a.s. , questa volta in collaborazione con Pellegrino Bozzella.

Si tratta di iHelpYou, app iOS per l’assistenza tecnica in remoto tramite iMessage. E’ sufficiente porre la domanda per avere una risposta in tempi brevi su qualsiasi problematica tecnica vogliate.

Screenshot iHelpYou

L’applicazione è gratuita ed è disponibile per firmware 7 o superiori.