PhotoListView *secondPage = [[PhotoListView alloc] initWithNibName:@"PhotoListView" bundle:[NSBundle mainBundle]];
[[self navigationController] pushViewController:secondPage animated:YES];
4) Done.
PhotoListView *secondPage = [[PhotoListView alloc] initWithNibName:@"PhotoListView" bundle:[NSBundle mainBundle]];
[[self navigationController] pushViewController:secondPage animated:YES];
4) Done.
NSArray *pointsArray = [PolyShape pointsForPolygonInRect:rect numberOfSides:[polygon numberOfSides]];
//count the number of objects in the array and set a matching integer
int i;
i=[pointsArray count];
//setup our C array to match the number of objects in the pointsArray...
CGPoint thePointArray[i];
//for each object in the pointsArray, set a CGPoint value, add it to the C-Array (thePointArray) in it's matching index
for (id object in pointsArray) {
CGPoint thePoint = [object CGPointValue];
i--;
thePointArray[i] = CGPointMake(thePoint.x, thePoint.y);
}