I am passing data to the view using this method:
nextViewController = [[AfricanSwallowViewController alloc] initWithNibName:@"AfricanSwallowView" bundle:nil];
((InstructionsViewController *)nextViewController).byTheHusk = byTheHusk;
I am trying to iterate over the values on the view that byTheHusk gets passed to.
I have tried several versions of NSLog(@"%@", byTheHusk.name); and using objectAtIndexPath etc. with no luck
Is there a way to access the the objects entries attributes in a while or for loop style structure?
The closest I can get is:
NSManagedObject *managedObject = [self.fetchedResultsController objectAtIndexPath:0];
NSLog(@"%@",[[managedObject valueForKey:@"name"] description]);
which results in:
ByTheHusk[7880:207] (null)
Which means there are 207 entries. Is that right? and that ByTheHusk is getting passed correctly?
I am a noob to this all so thanks for any help!!!
Bo
I figured it out through some eduction and trial and error and error and error.
But I got it!!!!
Put it in an array and roll over it… thanks all for the guidance!