Page 1 of 1

Room_Find_result problem!

Posted: 16 May 2012, 11:24
by pkrmf
Hi!

I'm having some problems about trying to look for a room. Actually I'm using this to search the room:

Code: Select all

MatchExpression *exp = [MatchExpression expressionWithVarName:RoomProperties_NAME condition:[StringMatch stringMatchEquals] value:@"Marc"];
[_smartFox send:[FindRoomsRequest requestWithExpr:exp]];
With this I'm trying to find a room with the name:Marc, an after this search i want to know if some room has been found with this name or not. But the problem is that i don't have any idea how to use that. I've been looking in the documentation about the SFSEvent Room_Find_result but it says something about a List<Room> but in objective C its impossible to use a List<Room>. I just want to know how to solve this problem! Thanks!

Re: Room_Find_result problem!

Posted: 16 May 2012, 20:12
by rjgtav
Hello.
In the Objective-C client API Documentation page of that event, it says that it returns a NSArray which contains all the rooms that were found. Are you using the right documentation?