TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | Apache 2 |
ReleasedLast Release | Jan 2018 |
Maintained by Scott Condron.
A client library for use with the FloJack NFC reader.
Please help us make this a reality and contribute to our Kickstarter campaign: http://www.kickstarter.com/projects/flomio/flojack-nfc-for-ipad-and-iphone/
Choose one of the following options:
Include FloJack as a subproject and include libFloJack.a
If you do this, you must add -ObjC to your "other linker flags" option
Import "FJNFCAdapter.h"
Your app must be linked against the following frameworks
The classes you care about
FJNFCAdapterDelegate
Implement these guys:
@protocol SRWebSocketDelegate <NSObject>
@required
- (void)nfcAdapter:(FJNFCAdapter *)nfcAdapter didScanTag:(FJNFCTag *)theNfcTag;
- (BOOL)nfcAdapter:(id)sender shouldWriteTagwithData:(NSData *)theData;
- (BOOL)nfcAdapter:(id)sender shouldSendMessage:(NSData *)theMessage;
@optional
- (void)nfcAdapter:(FJNFCAdapter *)nfcAdapter didReceiveFirmwareVersion:(NSString*)theVersionNumber;
- (void)nfcAdapter:(FJNFCAdapter *)nfcAdapter didReceiveHardwareVersion:(NSString*)theVersionNumber;
- (void)nfcAdapterDidDetectFloJackConnected:(FJNFCAdapter *)nfcAdapter;
- (void)nfcAdapterDidDetectFloJackDisconnected:(FJNFCAdapter *)nfcAdapter;
@end
See FloJackExample target app included in this project.
This library is actively under development, much will be changing.
Interested in bringing NFC to iOS? Get in touch info at flomio dot com.