Skip to content

loop is not increment in numberofViews #18

@iqbal92

Description

@iqbal92
- (NSInteger)numberOfViews {

    for (int i = 0; i<[masterArray count]; i++)  {
        NSMutableArray *test = masterArray[i];
        return  test.count;
    }
}

in this method loop is not increment, i got zero every time when i using this loop in outside of this scope this is proper work.
plz help me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions