Simple sample project of BLE connection in swift
This is a base project i made in order to communicate an iPhone to an Arduino with a BLE module. Not the final one.
The app look for the peripherals, connect to one and then look for the services and characteristics.
For more information about CoreBluetooth you can go to [CoreBluetooth] (https://developer.apple.com/library/content/documentation/NetworkingInternetWeb/Conceptual/CoreBluetooth_concepts/CoreBluetoothOverview/CoreBluetoothOverview.html)