Creating SmartFox client instance with ConfigData
Creating SmartFox client instance with ConfigData
I have read about the ability to do this (as opposed to loading an XML file) but I dont see a way to do this in the API
Re: Creating SmartFox client instance with ConfigData
You can do as follows:
We'll update the documentation with the next release, 1.2.0
Thanks
Code: Select all
_sfs = [[SmartFox2XClient alloc] initSmartFoxWithDebugMode:YES delegate:self];
ConfigData *cfg = [[ConfigData alloc] init];
cfg.host = @"127.0.0.1";
cfg.port = 9933;
cfg.zone = @"BasicExamples";
[_sfs connectWithConfig:cfg];
We'll update the documentation with the next release, 1.2.0
Thanks
Re: Creating SmartFox client instance with ConfigData
awesome. thakns!
Return to “SFS2X iPhone / iPad / OSX API”
Who is online
Users browsing this forum: No registered users and 31 guests