Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NSString * strGroupId = [NSString stringWithFormat:@"%@_%@",CURRENT_USER_ID,[userDetailDict valueForKey:@"user_id"]];
- FIRDatabaseQuery * query1 = [[[_ref child:@"Message"] child:strGroupId]queryLimitedToLast:10];
- _refHandle = [query1 observeEventType:FIRDataEventTypeValue withBlock:^(FIRDataSnapshot *snapshot) {}];
Add Comment
Please, Sign In to add comment