1

我在 sqlite 数据库表 POOL_A、POOL_B 和池 A 中的 POOL_C 中有三个字段我开始第一个问题,池 B 和池 C 是空的我必须为特定概念代码(如 DC_C1)创建会话,并且还必须找到特定的会话完成意味着 SESSION_NUMBER FOR DC_C1,我正在发送算法以更了解问题

  • (IBAction)startButton:(id)sender {

    ConceptShoeViewController *show = [[ConceptShoeViewController alloc] initWithNibName:@"ConceptShoeViewController" bundle:nil]; [self.navigationController pushViewController:显示动画:YES];

    [自选择池数据库];

    int countA=lA.count;NSLog(@"count a @%d",countA); NSLog(@"A的问题%@",lA);

    int countB=LB.count;NSLog(@"count b @%d",countB);

    int countC=lC.count; NSLog(@"count c @%d",countC);

会话创建上的编译指示标记算法............

NSArray *cookieJar = [[NSHTTPCookieStorage sharedHTTPCookieStorage] cookies];
for( NSHTTPCookie *cookie in cookieJar)
{
    if( [[cookie name] compare: @"SESSION_NUMBER"] == NSOrderedSame)
    {

    }
}


if (countA+countB <= 10)
{

杂注标记添加来自A和B的所有问题

    [mainArray addObjectsFromArray:lA];
}

否则如果 (countB<10)

{
 if (countA<10)

{

pragma mark 将 A 中的所有问题和 B 中的剩余问题相加

}
    else
    {

杂注标记添加来自A的所有问题

    }
}

别的 {

4

0 回答 0