6.3 Add Import statements to utilize frameworks 21
6.3 Add Import statements to utilize frameworks
In the header files of the classes that will access IDTech Devices, use import statement utilize the frameworks:
#import <IDTech/IDTech.h>
6.4 Amend the view controller interface to include the framework delegate classes:
In the header files of the classes that will be a delegate of IDTech.framework, include the reference to the framework
delegate class name:
@interface ViewController : UIViewController <IDT_NEO2_Delegate>
6.5 Implement any/all of the optional delegate protocols used to receive data from IDT_←-
NEO2_Delegate:
- (void) deviceConnected;
- (void) deviceDisconnected;
- (void) dataInOutMonitor:(NSData
*
)data incoming:(BOOL)isIncoming;
- (void) swipeMSRData:(IDTMSRData
*
)cardData;
IDTech iOS SDK Guide for NEO2 #80152802-001