Please let me ask a question about the title.

I wanted to use Neurosky's Mindwave mobile EEG with the iOS app and downloaded the SDK.
https://store.neurosky.com/products/ios- developer-tools-4

SDK was Objective-C, so when I was investigating how to use it in Swift, I found the following and tried it.

You can connect to an electroencephalograph with the connect method in this code, but this connect method is not defined where you can see it, and you can't get any further data.
Originally, I think that you should connect with the connectDevice method written in MWMDevice.h, but if you try to call this, an error will occur and the connect method will be suggested.

// ViewController.swift
import UIKit
class ViewController: UIViewController, MWMDelegate {
    let mwm = MWMDevice.sharedInstance ()
    override func viewDidLoad () {
        super.viewDidLoad ()
        mwm? .delegate = self
    override func didReceiveMemoryWarning () {
        super.didReceiveMemoryWarning ()
    // MARK: IBAction
    @IBAction func scanBtnClick (_ sender: Any) {
        print ("scanBtnClick")
         mwm? .scanDevice ()
    // MARK: MWMDelegate
    func deviceFound (_ devName: String !, mfgID: String !, deviceID: String!) {
        print ("devName =" + devName)
        print ("mfgID =" + mfgID)
        print ("deviceID =" + deviceID)
        // choose the correct device and connect
        mwm? .connect (deviceID)
    func didDisconnect () {
        print ("didDisconnect");
    func didConnect () {
        print ("didConnect");
// MWMDevice.h
#import "MWMDelegate.h"
#import "MWMEnum.h"
@interface MWMDevice: NSObject<MWMDelegate>
@property (nonatomic, assign) id<MWMDelegate>delegate;
+ (MWMDevice *) sharedInstance;
-(NSString *) getVersion;
// scan
-(void) scanDevice;
// connect
-(void) connectDevice: (NSString *) deviceID;
// disconnect
-(void) disconnectDevice;
// config
/ * These two config functions just support MindWave plus. * /
-(void) writeConfig: (TGMWMConfigCMD) cmd;
-(void) readConfig;
-(void) enableConsoleLog: (BOOL) enabled;
// logging
-(NSString *) enableLoggingWithOptions: (unsigned) option;
-(void) stopLogging;

Why is the undefined connect method suggested?
What should I do to call connectDevice?

If i am familiar with this, please give us your response.