This is a BitZeny Miner for iOS based on cpuminer. cpuminer is modifed to work as a library for Objective-C and Swift.
- (id) initWithLogCallback: (void(^)(NSString*))cb;
Passed method receives log data.
- (int) startMining:(NSString*)url user:(NSString*)user password:(NSString*)password n_threads:(int)n_threads;
- (int) startBenchmark;
- (int) stopMining;
Library core uses submodule. Therefore, run below commands after clone;
git submodule init
git submodule update