Tesfy is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'Tesfy'
Once imported, instantiate the engine with a datafile
and optionally a storage
layer to enable sticky bucketing, a userId
and a set of attributes
.
import Tesfylet tesfy = Tesfy(datafile: datafile, storage: storage, userId: userId, attributes: attributes)